/* 
   Main stylesheet for domain.com
   Color palette:
   - Primary: Electric Coral #FF4E50
   - Accent: Deep Teal #004D40
   - Background: Ivory Mist #FCFCFC
   - Text: Obsidian Black #1C1C1C
   - CTA/Notifications: Bright Lemon #FFD700
*/

/* === Base Styles === */
:root {
    --primary: #FF4E50;
    --accent: #004D40;
    --background: #FCFCFC;
    --text: #1C1C1C;
    --cta: #FFD700;
    --gray-light: #F0F0F0;
    --gray: #D0D0D0;
    --gray-dark: #707070;
    --white: #FFFFFF;
    --shadow: rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text);
    background-color: var(--background);
    overflow-x: hidden;
    width: 100%;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 80px 0;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 20px;
    line-height: 1.2;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    position: relative;
    padding-bottom: 15px;
}

h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--primary);
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 15px;
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--primary);
}

img {
    max-width: 100%;
    height: auto;
}

ul, ol {
    margin-left: 20px;
    margin-bottom: 15px;
}

.text-center {
    text-align: center;
}

.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 25px;
    border-radius: 4px;
    font-weight: bold;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #e64648;
    color: var(--white);
}

.btn-accent {
    background-color: var(--accent);
    color: var(--white);
}

.btn-accent:hover {
    background-color: #003a30;
    color: var(--white);
}

.btn-cta {
    background-color: var(--cta);
    color: var(--text);
}

.btn-cta:hover {
    background-color: #e6c200;
}

/* === Header Styles === */
.main-header {
    background-color: var(--white);
    box-shadow: 0 2px 5px var(--shadow);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo img {
    max-height: 50px;
}

.logo-text {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary);
    text-transform: lowercase;
    letter-spacing: 1px;
}

.desktop-nav ul {
    display: flex;
    list-style: none;
    margin: 0;
}

.desktop-nav li {
    margin-left: 25px;
}

.desktop-nav a {
    font-weight: bold;
    color: var(--text);
}

.desktop-nav a:hover {
    color: var(--primary);
}

/* === Mobile Menu === */
.mobile-menu-toggle {
    display: none;
}

.hamburger-menu .menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
}

.hamburger-menu .bar {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--text);
    transition: all 0.3s ease;
}

.hamburger-menu .menu-toggle.active .bar:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.hamburger-menu .menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger-menu .menu-toggle.active .bar:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

.mobile-nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--white);
    box-shadow: 0 5px 5px var(--shadow);
    padding: 20px;
    z-index: 999;
}

.mobile-nav ul {
    list-style: none;
    margin: 0;
}

.mobile-nav li {
    margin-bottom: 15px;
}

.mobile-nav a {
    font-weight: bold;
    font-size: 1.1rem;
    color: var(--text);
    display: block;
    padding: 5px 0;
}

/* === Hero Section === */
.hero {
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    background-color: var(--accent);
    color: var(--white);
    margin-top: 80px;
    position: relative;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 30px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 40px;
}

/* === About Section === */
.about {
    background-color: var(--white);
}

.about-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 50px;
}

.about-text {
    flex: 1;
    min-width: 300px;
}

.about-image {
    flex: 1;
    min-width: 300px;
}

/* === Features Section === */
.features {
    background-color: var(--gray-light);
}

.features-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.feature-card {
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 5px 15px var(--shadow);
    padding: 30px;
    flex: 1;
    min-width: 300px;
    max-width: 350px;
    text-align: center;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 25px var(--shadow);
}

.feature-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 20px;
}

/* === Services Section === */
.services {
    background-color: var(--white);
}

.services-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.service-card {
    flex: 1;
    min-width: 300px;
    background-color: var(--background);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px var(--shadow);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 25px var(--shadow);
}

.service-image {
    height: 200px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

.service-content {
    padding: 25px;
}

/* === Pricing Section === */
.pricing {
    background-color: var(--gray-light);
}

.pricing-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 30px;
    background-color: var(--white);
    box-shadow: 0 5px 15px var(--shadow);
    border-radius: 8px;
    overflow: hidden;
}

.pricing-table th, .pricing-table td {
    padding: 15px 20px;
    text-align: left;
    border-bottom: 1px solid var(--gray);
}

.pricing-table th {
    background-color: var(--accent);
    color: var(--white);
}

.pricing-table tr:last-child td {
    border-bottom: none;
}

.pricing-table tr:hover td {
    background-color: var(--gray-light);
}

/* === Testimonials Section === */
.testimonials {
    background-color: var(--white);
}

.testimonials-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.testimonial-card {
    flex: 1;
    min-width: 300px;
    max-width: 350px;
    background-color: var(--background);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px var(--shadow);
    position: relative;
}

.testimonial-card:before {
    content: '"';
    font-size: 6rem;
    color: var(--primary);
    opacity: 0.2;
    position: absolute;
    top: -20px;
    left: 10px;
    z-index: 1;
}

.testimonial-content {
    position: relative;
    z-index: 2;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-author {
    font-weight: bold;
}

.testimonial-position {
    color: var(--gray-dark);
    font-size: 0.9rem;
}

/* === FAQ Section === */
.faq {
    background-color: var(--gray-light);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 15px;
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px var(--shadow);
}

.faq-question {
    position: relative;
}

.faq-toggle {
    display: block;
    padding: 20px;
    font-weight: bold;
    width: 100%;
    text-align: left;
    color: var(--text);
}

.faq-toggle:hover {
    background-color: var(--gray-light);
}

.faq-toggle.active {
    background-color: var(--primary);
    color: var(--white);
}

.faq-icon {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 1.2rem;
}

.faq-answer {
    padding: 0 20px 20px;
}

/* === Contact Section === */
.contact {
    background-color: var(--white);
}

.contact-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
}

.contact-info {
    flex: 1;
    min-width: 300px;
    max-width: 450px;
}

.contact-details {
    margin-bottom: 30px;
}

.contact-details p {
    margin-bottom: 10px;
}

.contact-map {
    flex: 0.8;
    min-width: 280px;
    max-width: 400px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px var(--shadow);
}

.contact-map img {
    width: 100%;
    height: auto;
    max-height: 250px;
    object-fit: cover;
    display: block;
}

/* === Form Styles === */
.form-section {
    background-color: var(--accent);
    color: var(--white);
    padding: 80px 0;
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    padding: 40px;
    color: var(--text);
    position: relative;
}

.form-container:before {
    content: '';
    position: absolute;
    top: -15px;
    left: -15px;
    right: 15px;
    bottom: 15px;
    border: 2px dashed var(--cta);
    border-radius: 8px;
    z-index: -1;
}

.form-title {
    color: var(--primary);
    text-align: center;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 25px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--gray);
    border-radius: 4px;
    font-size: 1rem;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 2px rgba(0, 77, 64, 0.2);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.checkbox-group input {
    margin-top: 5px;
    margin-right: 10px;
}

.form-submit {
    text-align: center;
    margin-top: 30px;
}

/* === Policy Pages === */
.policy-container {
    max-width: 800px;
    margin: 120px auto 60px;
    padding: 40px;
    background-color: var(--white);
    box-shadow: 0 5px 15px var(--shadow);
    border-radius: 8px;
    border: 1px solid var(--gray);
}

.policy-container h1 {
    color: var(--primary);
    margin-bottom: 30px;
    text-align: center;
}

.policy-container h2 {
    color: var(--accent);
    margin-top: 40px;
}

.policy-container p, .policy-container ul, .policy-container ol {
    margin-bottom: 20px;
}

/* === Thank You Page === */
.thank-you {
    text-align: center;
    padding: 100px 20px;
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.thank-you h1 {
    color: var(--primary);
    margin-bottom: 30px;
}

.thank-you-frame {
    max-width: 650px;
    margin: 0 auto;
    padding: 40px;
    border: 2px solid var(--primary);
    border-radius: 10px;
    background-color: var(--white);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    position: relative;
}

.thank-you-frame:before {
    content: '';
    position: absolute;
    top: 10px;
    right: 10px;
    bottom: 10px;
    left: 10px;
    border: 1px dashed var(--accent);
    border-radius: 5px;
    pointer-events: none;
}

.thank-you-action {
    margin-top: 30px;
}

/* === Cookie Popup === */
.cookie-popup {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background-color: var(--white);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    padding: 20px;
    border-radius: 8px;
    z-index: 9999;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.cookie-text {
    flex: 1;
    min-width: 280px;
}

/* === Footer === */
.main-footer {
    background-color: #1A1A1A;
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-info, .footer-contact, .footer-links {
    flex: 1;
    min-width: 250px;
}

.footer-info h3, .footer-contact h3, .footer-links h3 {
    color: var(--cta);
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.footer-links ul {
    list-style: none;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--white);
    opacity: 0.8;
}

.footer-links a:hover {
    color: var(--cta);
    opacity: 1;
}

.footer-copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.7;
}

/* === Animations === */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideInFromBottom {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideInFromLeft {
    from {
        transform: translateX(-50px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInFromRight {
    from {
        transform: translateX(50px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Apply animations */
.hero-content {
    animation: fadeIn 1s ease-out;
}

.about-content {
    animation: slideInFromLeft 1s ease-out;
}

.feature-card, .service-card, .testimonial-card {
    animation: slideInFromBottom 0.8s ease-out;
}

/* === Media Queries === */
@media screen and (max-width: 991px) {
    section {
        padding: 60px 0;
    }
    
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero {
        height: auto;
        min-height: 500px;
    }
    
    .hero h1 {
        font-size: 2.8rem;
    }
}

@media screen and (max-width: 768px) {
    .desktop-nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    section {
        padding: 50px 0;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.6rem;
    }
    
    .hero {
        min-height: 400px;
        margin-top: 70px;
    }
    
    .hero h1 {
        font-size: 2.2rem;
        margin-bottom: 20px;
    }
    
    .hero p {
        font-size: 1.1rem;
        margin-bottom: 30px;
    }
}

@media screen and (max-width: 576px) {
    html, body {
        max-width: 100%;
        overflow-x: hidden;
    }

    .container {
        padding: 0 15px;
        max-width: 100%;
    }
    
    section {
        padding: 40px 0;
    }
    
    h1 {
        font-size: 1.8rem;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .feature-card, .service-card, .testimonial-card {
        min-width: 100%;
    }
    
    .form-container {
        padding: 30px 20px;
    }
    
    .form-container:before {
        display: none;
    }
    
    .cookie-popup {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-content {
        gap: 30px;
    }
    
    img {
        max-width: 100%;
        height: auto;
    }
}
