/* Main Styles for Domain Accounting */

/* Variables */
:root {
    --deep-teal: #008B8B;
    --light-amber: #FFC107;
    --coal-black: #2E2E2E;
    --smoke-white: #F5F5F5;
    --aqua-gradient: linear-gradient(135deg, #00CED1, #20B2AA);
    --transition-default: all 0.3s ease;
    --box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    --border-radius: 8px;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px; /* Offset for fixed header */
}

body {
    font-family: 'Roboto', Arial, sans-serif;
    line-height: 1.6;
    color: var(--coal-black);
    background-color: var(--smoke-white);
    font-size: 16px;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 2rem;
}

h2:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 3px;
    background: var(--light-amber);
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--deep-teal);
    text-decoration: none;
    transition: var(--transition-default);
}

a:hover {
    color: var(--light-amber);
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2:after {
    left: 50%;
    transform: translateX(-50%);
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 12px 30px;
    background: var(--light-amber);
    color: var(--coal-black);
    border-radius: var(--border-radius);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
    transition: var(--transition-default);
    border: none;
    cursor: pointer;
}

.btn:hover {
    background: var(--deep-teal);
    color: white;
    transform: translateY(-3px);
    box-shadow: var(--box-shadow);
}

.btn-primary {
    background: var(--deep-teal);
    color: white;
}

.btn-primary:hover {
    background: var(--light-amber);
    color: var(--coal-black);
}

/* Header & Navigation */
.header {
    background: var(--deep-teal);
    color: white;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
}

.logo {
    font-size: 1.8rem;
    font-weight: 900;
    color: white;
}

.logo span {
    color: var(--light-amber);
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-item {
    margin-left: 30px;
}

.nav-link {
    color: white;
    font-weight: 500;
    position: relative;
}

.nav-link:after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--light-amber);
    transition: var(--transition-default);
}

.nav-link:hover:after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    background: var(--aqua-gradient);
    color: white;
    padding: 180px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: var(--smoke-white);
    clip-path: polygon(0 100%, 100% 100%, 100% 40%, 0 70%);
}

.hero-content {
    max-width: 700px;
    text-align: center;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1s 0.3s ease both;
}

.hero-btn {
    animation: fadeInUp 1s 0.6s ease both;
}

/* About Section */
.about {
    position: relative;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-text {
    flex: 1;
}

.about-image {
    flex: 1;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transform: translateY(0);
    transition: var(--transition-default);
}

.about-image:hover {
    transform: translateY(-10px);
}

/* Benefits Section */
.benefits {
    background-color: var(--smoke-white);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.benefit-card {
    background: white;
    padding: 30px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: var(--transition-default);
}

.benefit-card:hover {
    transform: translateY(-10px);
}

.benefit-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: var(--aqua-gradient);
    color: white;
    border-radius: 50%;
    font-size: 2rem;
    margin-bottom: 20px;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background: white;
    padding: 40px 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition-default);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.service-card:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: var(--aqua-gradient);
    z-index: -1;
    transition: var(--transition-default);
}

.service-card:hover:before {
    height: 100%;
}

.service-card:hover {
    color: white;
    transform: translateY(-5px);
}

.service-card:hover h3 {
    color: white;
}

/* Why Choose Us Section */
.why-choose {
    background-color: var(--smoke-white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition-default);
}

.feature-item:hover {
    transform: translateY(-5px);
}

.feature-icon {
    color: var(--deep-teal);
    font-size: 1.5rem;
}

/* Order Section */
.order {
    background: var(--aqua-gradient);
    color: white;
    position: relative;
}

.order-form {
    background: white;
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    max-width: 700px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    color: var(--coal-black);
    font-weight: 500;
}

.form-input,
.form-select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-size: 16px;
    transition: var(--transition-default);
}

.form-input:focus,
.form-select:focus {
    border-color: var(--deep-teal);
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 139, 139, 0.2);
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.checkbox-input {
    width: 18px;
    height: 18px;
}

.checkbox-label {
    color: var(--coal-black);
}

/* FAQ Section */
.faq {
    background-color: white;
}

.accordion {
    max-width: 800px;
    margin: 0 auto;
}

.accordion-item {
    margin-bottom: 15px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.accordion-header {
    background: white;
    padding: 15px 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition-default);
}

.accordion-header:hover {
    background: #f9f9f9;
}

.accordion-title {
    margin: 0;
    font-size: 1.1rem;
}

.accordion-body {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: #f9f9f9;
}

.accordion-body.active {
    padding: 20px;
    max-height: 500px;
}

/* Contact Section */
.contact {
    background-color: var(--smoke-white);
}

.contact-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 50px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.contact-icon {
    color: var(--deep-teal);
    font-size: 1.5rem;
}

.contact-map {
    height: 350px;
    border-radius: var(--border-radius);
    overflow: hidden;
}

/* Footer */
.footer {
    background: var(--coal-black);
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 40px;
}

.footer-col h3 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-col p {
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #aaa;
}

.footer-links a:hover {
    color: var(--light-amber);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: white;
    padding: 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    max-width: 400px;
    width: 90%;
    z-index: 9999;
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.cookie-popup.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.cookie-popup p {
    margin-bottom: 15px;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Styles */
@media (max-width: 992px) {
    .benefits-grid,
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 60px 0;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--deep-teal);
        flex-direction: column;
        align-items: center;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    .nav-menu.active {
        max-height: 300px;
    }
    
    .nav-item {
        margin: 0;
        width: 100%;
        text-align: center;
    }
    
    .nav-link {
        display: block;
        padding: 15px;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .benefits-grid,
    .services-grid,
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .section {
        padding: 40px 0;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}
