/**
 * Main stylesheet for domain.com
 * Contains base styling, typography, and component styles
 */

/* ========== CSS Variables ========== */
:root {
    /* Color Palette */
    --ocean-midnight: #012E40;
    --honey-amber: #FFB400;
    --soft-coral: #F76C5E;
    --misty-mint: #D0F0C0;
    --stone-gray: #4B4B4B;
    
    /* Typography */
    --font-primary: 'Montserrat', sans-serif;
    --font-secondary: 'Roboto', sans-serif;
    
    /* Spacing */
    --section-padding: 5rem 2rem;
    --section-padding-mobile: 3rem 1rem;
    --container-width: 1200px;
}

/* ========== Base Styles ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    color: var(--stone-gray);
    line-height: 1.6;
    background-color: #fff;
    font-size: 16px;
}

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 15px;
}

/* ========== Typography ========== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--ocean-midnight);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    position: relative;
    margin-bottom: 2rem;
    text-align: center;
}

h2:after {
    content: '';
    display: block;
    width: 100px;
    height: 3px;
    background-color: var(--honey-amber);
    margin: 0.5rem auto 0;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--ocean-midnight);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--honey-amber);
}

/* ========== Layout Components ========== */
/* Grid System */
.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.col {
    flex: 1;
    padding: 0 15px;
    margin-bottom: 1.5rem;
}

/* Section Styles */
section {
    padding: var(--section-padding);
}

section.bg-mint {
    background-color: var(--misty-mint);
}

section.bg-dark {
    background-color: var(--ocean-midnight);
    color: white;
}

section.bg-dark h2, 
section.bg-dark h3 {
    color: white;
}

/* Section Dividers */
.divider {
    position: relative;
    height: 100px;
    width: 100%;
    overflow: hidden;
}

.divider-diagonal {
    transform: skewY(-3deg);
    margin-top: -50px;
}

.divider-curved {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 100'%3E%3Cpath fill='%23D0F0C0' d='M0,64L80,69.3C160,75,320,85,480,80C640,75,800,53,960,42.7C1120,32,1280,32,1360,32L1440,32L1440,0L1360,0C1280,0,1120,0,960,0C800,0,640,0,480,0C320,0,160,0,80,0L0,0Z'%3E%3C/path%3E%3C/svg%3E");
    background-size: cover;
}

.divider-asymmetric {
    clip-path: polygon(0 0, 100% 50%, 100% 100%, 0% 100%);
}

/* ========== Header & Navigation ========== */
.site-header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo a {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--ocean-midnight);
    text-transform: lowercase;
}

.main-nav {
    display: flex;
}

.main-nav ul {
    display: flex;
    list-style: none;
}

.main-nav ul li {
    margin-left: 1.5rem;
}

.main-nav ul li a {
    font-weight: 500;
    position: relative;
}

.main-nav ul li a:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--honey-amber);
    transition: width 0.3s ease;
}

.main-nav ul li a:hover:after,
.main-nav ul li a.active:after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Mobile Menu */
.mobile-menu-container {
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    width: 100%;
    height: 0;
    background-color: white;
    z-index: 999;
    overflow: hidden;
    transition: height 0.3s ease;
}

.mobile-menu-container.menu-open {
    height: 100vh;
    display: block;
}

.mobile-nav {
    padding: 1rem;
}

.mobile-nav ul {
    list-style: none;
}

.mobile-nav ul li {
    margin: 1rem 0;
}

.mobile-nav ul li a {
    display: block;
    padding: 0.5rem 0;
    font-size: 1.2rem;
    font-weight: 500;
}

/* ========== Buttons ========== */
.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-family: var(--font-primary);
}

.btn-amber {
    background-color: var(--honey-amber);
    color: white;
}

.btn-amber:hover {
    background-color: darken(var(--honey-amber), 10%);
    color: white;
    transform: translateY(-2px);
}

.btn-coral {
    background-color: var(--soft-coral);
    color: white;
}

.btn-coral:hover {
    background-color: darken(var(--soft-coral), 10%);
    color: white;
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--ocean-midnight);
    color: var(--ocean-midnight);
}

.btn-outline:hover {
    background-color: var(--ocean-midnight);
    color: white;
}

/* ========== Hero Section ========== */
.hero {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    padding: 4rem 0;
    overflow: hidden;
}

.hero:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(1, 46, 64, 0.7);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: white;
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: white;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ========== Services Section ========== */
.service-card {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.service-image {
    height: 200px;
    margin-bottom: 1rem;
    overflow: hidden;
    border-radius: 5px;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.05);
}

.service-card h3 {
    margin-bottom: 1rem;
}

/* ========== Why Choose Us Section ========== */
.features-list {
    list-style: none;
}

.features-list li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 1rem;
}

.features-list li:before {
    content: '✓';
    color: var(--honey-amber);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* ========== Testimonials Section ========== */
.testimonial-card {
    background-color: white;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    border-left: 4px solid var(--soft-coral);
}

.testimonial-quote {
    font-style: italic;
}

.testimonial-author {
    margin-top: 1rem;
    font-weight: 500;
}

.testimonial-position {
    font-size: 0.9rem;
    color: #777;
}

/* ========== Pricing Section ========== */
.pricing-table {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    height: 100%;
}

.pricing-header {
    background-color: var(--ocean-midnight);
    color: white;
    padding: 1.5rem;
    text-align: center;
}

.pricing-header h3 {
    color: white;
    margin-bottom: 0.5rem;
}

.pricing-price {
    font-size: 2rem;
    font-weight: 700;
}

.pricing-period {
    font-size: 0.9rem;
    opacity: 0.7;
}

.pricing-features {
    padding: 1.5rem;
    list-style: none;
}

.pricing-features li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-footer {
    padding: 1.5rem;
    text-align: center;
}

/* ========== Order Form ========== */
.order-form {
    max-width: 800px;
    margin: 0 auto;
}

.form-card {
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 2.5rem;
}

.form-card h3 {
    text-align: center;
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: var(--font-secondary);
    font-size: 1rem;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.checkbox-group input {
    margin-top: 0.25rem;
    margin-right: 0.5rem;
}

.checkbox-group label {
    font-size: 0.9rem;
}

.form-error {
    color: var(--soft-coral);
    font-size: 0.85rem;
    margin-top: 0.25rem;
    display: block;
}

/* ========== FAQ Section ========== */
.faq-item {
    margin-bottom: 1rem;
    border: 1px solid #eee;
    border-radius: 4px;
    overflow: hidden;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background-color: #f9f9f9;
    font-weight: 500;
    cursor: pointer;
}

.faq-question.active {
    background-color: var(--ocean-midnight);
    color: white;
}

.faq-icon {
    font-size: 1.2rem;
    font-weight: 700;
}

.faq-answer {
    padding: 1rem;
    background-color: white;
    border-top: 1px solid #eee;
}

/* ========== Contact Section ========== */
.contact-info {
    margin-bottom: 2rem;
}

.contact-detail {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.contact-icon {
    width: 30px;
    text-align: center;
    font-size: 1.2rem;
    color: var(--honey-amber);
    margin-right: 1rem;
}

.map-container {
    height: 300px;
    overflow: hidden;
    border-radius: 8px;
}

.map-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ========== Footer ========== */
.site-footer {
    background-color: var(--ocean-midnight);
    color: white;
    padding: 3rem 0 1.5rem;
}

.footer-top {
    margin-bottom: 2rem;
}

.footer-info h3 {
    color: white;
    margin-bottom: 1rem;
}

.footer-info p {
    opacity: 0.8;
    max-width: 300px;
}

.footer-links h4,
.footer-contact h4 {
    color: white;
    margin-bottom: 1rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 0.5rem;
}

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s ease;
}

.footer-links ul li a:hover {
    color: var(--honey-amber);
}

.footer-contact p {
    margin-bottom: 0.5rem;
    opacity: 0.8;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    text-align: center;
}

.legal-links {
    margin-bottom: 1rem;
}

.legal-links a {
    color: rgba(255, 255, 255, 0.7);
    margin: 0 0.5rem;
    font-size: 0.9rem;
}

.legal-links a:hover {
    color: white;
}

.copyright {
    font-size: 0.9rem;
    opacity: 0.7;
}

/* ========== Cookie Banner ========== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--ocean-midnight);
    color: white;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 9999;
}

.cookie-banner p {
    margin-bottom: 0;
    padding-right: 1rem;
}

.cookie-banner a {
    color: var(--honey-amber);
}

/* ========== Policy Pages ========== */
.policy-content {
    max-width: 800px;
    margin: 0 auto;
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.policy-content h1 {
    margin-bottom: 2rem;
}

.policy-content h2 {
    margin-top: 2rem;
    text-align: left;
}

.policy-content h2:after {
    margin: 0.5rem 0 0;
}

.policy-content p {
    margin-bottom: 1rem;
}
