/**
 * MAIN WEBSITE STYLESHEET
 * 
 * This file contains all the styling for Laura Riposo-Hackney's website.
 * It works in conjunction with:
 * - header.js (for dynamic header loading)
 * - footer.html (for consistent footer styling)
 * - Individual HTML pages for content structure
 * 
 * Key sections in this file:
 * 1. Mobile navigation and overlay styles
 * 2. CSS custom properties (variables) for consistent colors
 * 3. Base typography and layout
 * 4. Header and navigation styling
 * 5. Page-specific content styles
 * 6. Footer styling
 * 7. Mobile responsive breakpoints
 * 
 * Mobile-first approach: Base styles for mobile, then desktop overrides
 */

/* ========================================
   MOBILE NAVIGATION SYSTEM
   ======================================== */

/* Mobile Menu Overlay - Dark background when mobile menu is open */
.nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
    opacity: 0;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    visibility: hidden;
}

.nav-overlay.active {
    display: block;
    opacity: 1;
    visibility: visible;
}

/* Mobile Menu Styles */
@media (max-width: 992px) {
    /* Mobile hamburger menu */
    .hamburger {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 40px;
        height: 40px;
        background: rgba(255, 255, 255, 0.2);
        border: none;
        border-radius: 4px;
        padding: 0;
        cursor: pointer;
        z-index: 1001;
        margin-right: 10px;
        position: relative;
    }
    
    .hamburger-box {
        width: 24px;
        height: 20px;
        position: relative;
    }
    
    .hamburger-inner,
    .hamburger-inner::before,
    .hamburger-inner::after {
        content: '';
        display: block;
        width: 100%;
        height: 2px;
        background-color: #1a365d;
        position: absolute;
        left: 0;
        transition: all 0.3s ease;
    }
    
    .hamburger-inner {
        top: 50%;
        transform: translateY(-50%);
    }
    
    .hamburger-inner::before {
        top: -8px;
    }
    
    .hamburger-inner::after {
        bottom: -8px;
    }
    
    .hamburger.active .hamburger-inner {
        background-color: transparent;
    }
    
    .hamburger.active .hamburger-inner::before {
        transform: translateY(8px) rotate(45deg);
    }
    
    .hamburger.active .hamburger-inner::after {
        transform: translateY(-8px) rotate(-45deg);
    }
    .hamburger {
        display: flex;
        order: 1;
        padding: 8px;
        margin-right: 0.5rem;
        background: none;
        border: none;
        cursor: pointer;
    }
    
    .logo {
        order: 2;
        flex: 1;
        text-align: left;
        min-width: 0;
        padding-left: 0.5rem;
    }
    
    .logo h1 {
        font-size: 1.6rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        margin: 0;
        line-height: 1.2;
    }
    
    .logo p {
        font-size: 0.9rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        margin: 0.2rem 0 0;
    }
    
    .header-social {
        order: 3;
        margin-left: auto;
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }
    
    .header-social a {
        width: 30px;
        height: 30px;
        font-size: 1.2rem;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Mobile Navigation Menu */
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: white;
        z-index: 1000;
        padding: 80px 20px 20px;
        transition: right 0.3s ease;
        margin: 0;
        list-style: none;
        box-shadow: -2px 0 10px rgba(0,0,0,0.1);
    }
    
    .main-nav.is-active {
        right: 0;
    }
    
    .main-nav .nav-links {
        display: flex;
        flex-direction: column;
        width: 100%;
        padding: 10px 0;
        margin: 0;
        list-style: none;
    }
    
    .main-nav .nav-links li {
        width: 100%;
        margin: 0;
        padding: 0;
    }
    
    .main-nav .nav-links a {
        display: block;
        font-size: 1.1rem;
        padding: 15px 25px;
        color: #1a365d !important;
        text-align: left;
        border-bottom: 1px solid #eaeaea;
        text-decoration: none;
        font-weight: 500;
        transition: all 0.2s ease;
        background: white;
    }
    
    .main-nav .nav-links a:hover,
    .main-nav .nav-links a:focus {
        background-color: #f5f5f5;
        color: #0d1a30 !important;
    }
    
    .main-nav .nav-links a.active {
        color: #0d1a30 !important;
        font-weight: 600;
        background-color: #f0f4f8;
    }
    
    /* Ensure overlay is behind menu */
    .nav-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 999;
        opacity: 0;
        transition: opacity 0.3s ease;
    }
}

/* Base Styles */
:root {
    --primary-color: #4a6fa5;
    --secondary-color: #f8d7da;
    --accent-color: #e8b5ce;
    --text-color: #333;
    --light-text: #fff;
    --background: #ffffff;
    --light-bg: #f9f9f9;
    --border-radius: 8px;
    --box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 62.5%; /* 1rem = 10px */
}

body {
    font-family: 'Open Sans', sans-serif;
    font-size: 1.84rem; 
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background);
    overflow-x: hidden;
    margin: 0;
    padding-top: 80px; /* Add padding to account for fixed header */
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 500;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--accent-color);
}

p {
    margin-bottom: 1.5rem;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Legal Pages */
.legal-content {
    padding: 4rem 0;
    background-color: var(--light-bg);
}

.legal-text {
    background-color: white;
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    line-height: 1.8;
}

.legal-text h2 {
    color: var(--primary-color);
    margin: 2.5rem 0 1.5rem;
    font-size: 2.4rem;
}

.legal-text h3 {
    color: var(--primary-color);
    margin: 2rem 0 1.2rem;
    font-size: 2rem;
}

.legal-text h4 {
    color: var(--primary-color);
    margin: 1.8rem 0 1rem;
    font-size: 1.8rem;
}

.legal-text p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.legal-text ul, .legal-text ol {
    margin: 1.5rem 0 1.5rem 2.5rem;
}

.legal-text li {
    margin-bottom: 0.8rem;
    line-height: 1.6;
}

.legal-text a {
    color: var(--primary-color);
    text-decoration: underline;
}

.legal-text a:hover {
    color: var(--accent-color);
}

/* Layout */
.container {
    width: 98%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 10px;
}

/* Section padding is now applied individually to each section */

/* Header */
header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding-left: 0;
}

.header-social {
    display: flex;
    gap: 0;
    margin-left: auto;
    padding: 0 0.5rem;
}

.header-social a {
    color: var(--primary-color);
    font-size: 1.25rem; /* Slightly reduced font size to match smaller container */
    transition: transform 0.3s ease, color 0.3s ease;
    display: flex;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    position: relative;
    gap: 2rem;
}

/* Logo */
.logo {
    display: flex;
    flex-direction: column;
    padding: 0.5rem 0;
    min-width: 240px;
    margin: 0;
    white-space: nowrap;
}

.logo h1 {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin: 0;
    line-height: 1.2;
    font-family: 'Playfair Display', serif;
    white-space: nowrap;
    text-align: left;
}

.logo p {
    font-size: 1.3rem;
    margin: 0.2rem 0 0 0;
    color: var(--text-color);
    white-space: nowrap;
    text-align: left;
    padding-left: 0.2rem;
}

/* Header Social Media */
.header-social {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-left: auto;
    position: relative;
    z-index: 1001;
}

.header-social a {
    color: var(--primary-color);
    font-size: 1.8rem;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.header-social a:hover {
    color: var(--accent-color);
    background: rgba(255, 255, 255, 1);
    transform: translateY(-2px);
}

/* Navigation */
.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem; /* Increased gap between nav items */
    margin: 0;
    padding: 0;
    flex-grow: 0;
    justify-content: flex-start;
    align-items: center; /* Vertically center align items */
}

.nav-links a {
    color: var(--primary-color);
    font-weight: 500;
    text-decoration: none;
    font-size: 1.56rem; /* 1.3rem * 1.2 (additional 20% larger) */
    padding: 0.5rem 0.6rem; /* Slightly increased horizontal padding */
    position: relative;
    transition: color 0.3s ease;
    white-space: nowrap; /* Prevent text wrapping */
}

.nav-links a:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-color);
}

.nav-links a:hover:after,
.nav-links a.active:after {
    width: 100%;
}

/* Social Links - Removed from header */

/* Responsive adjustments */
@media (max-width: 992px) {
    header .container {
        flex-wrap: wrap;
        padding: 0.75rem 1.5rem;
        gap: 1rem;
    }
    
    .logo {
        min-width: auto;
        margin-right: 0;
    }
    
    .logo h1 {
        font-size: 1.4rem;
    }
    
    .logo p {
        font-size: 0.9rem;
    }
    
    .nav-links {
        order: 3;
        width: 100%;
        justify-content: flex-start;
        overflow-x: auto;
        padding: 0.5rem 0;
        -webkit-overflow-scrolling: touch;
    }
    
    .nav-links::-webkit-scrollbar {
        display: none;
    }
    
    .social-links {
        margin-left: 0;
    }
    
    .social-links a {
        font-size: 1.1rem;
        width: 1.8rem;
        height: 1.8rem;
        background: var(--primary-color);
        color: white;
    }
}

@media (max-width: 480px) {
    header .container {
        padding: 0.5rem 1rem;
    }
    
    .logo h1 {
        font-size: 1.2rem;
    }
    
    .logo p {
        font-size: 0.8rem;
    }
    
    .nav-links {
        gap: 1rem;
    }
    
    .nav-links a {
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    header .container {
        padding: 0 0.5rem;
    }
    
    .logo {
        padding-left: 0.25rem;
    }
    
    .logo h1 {
        font-size: 1.7rem;
    }
    
    .social-links {
        padding-right: 1rem;
        gap: 1rem;
    }
    
    .logo p {
        font-size: 1rem;
    }
    
    .social-links a {
        font-size: 1.2rem;
        width: 1.8rem;
        height: 1.8rem;
        background: var(--primary-color);
        color: white;
    }
    
    .nav-links {
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .nav-links a {
        font-size: 0.95rem;
        padding: 0.3rem 0 0.5rem;
    }
}

/* Hamburger Menu - Simple 3-line version */
.hamburger {
    display: none;
    cursor: pointer;
    background: none;
    border: none;
    padding: 1rem;
    z-index: 1000;
    flex-direction: column;
    justify-content: space-between;
    width: 40px;
    height: 30px;
}

.hamburger-box {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
    height: 100%;
}

.hamburger-inner,
.hamburger-inner::before,
.hamburger-inner::after {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 3px;
    transition: none; /* Remove any transitions */
}

.hamburger-inner::before,
.hamburger-inner::after {
    content: "";
    position: static;
}

/* Mobile Navigation - Matching Nelson Psychic Fair */
@media (max-width: 992px) {
    .hamburger {
        display: flex !important;
        position: relative;
        z-index: 1001;
    }
    
    .main-nav {
        position: fixed;
        top: 0;
        left: -100%;
        width: 80%;
        max-width: 280px;
        height: 100vh;
        background: #62A780;
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.2);
        z-index: 1000;
        padding: 80px 0 40px;
        margin: 0;
        transition: left 0.3s ease-in-out;
        overflow-y: auto;
        display: block !important;
    }
    
    .main-nav.is-active {
        left: 0;
    }
    
    .nav-links {
        display: flex !important;
        flex-direction: column;
        gap: 0;
        padding: 0;
        margin: 0;
        width: 100%;
        list-style: none;
    }
    
    .nav-links li {
        width: 100%;
        margin: 0;
        padding: 0;
        display: block !important;
    }
    
    .nav-links a {
        display: block !important;
        padding: 16px 25px;
        color: #614511 !important;
        text-decoration: none !important;
        font-size: 16px;
        font-weight: 500;
        transition: all 0.3s ease;
        border-bottom: 1px solid rgba(97, 69, 17, 0.1);
        width: 100%;
        box-sizing: border-box;
        position: relative;
        opacity: 1 !important;
        visibility: visible !important;
    }
    
    .nav-links a:hover,
    .nav-links a:focus,
    .nav-links a.active {
        color: #4a3508 !important;
        background-color: #FFD700;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }
    
    .nav-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 998;
    }
    
    .nav-overlay.active {
        display: block;
    }
    
    /* Hide social links on mobile */
    .header-social {
        display: none !important;
    }
}

/* Navigation */
.main-nav {
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.nav-links a {
    color: var(--primary-color);
    font-weight: 500;
    text-decoration: none;
    font-size: 1.56rem;
    padding: 0.5rem 0.6rem;
    position: relative;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.nav-links a:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-color);
}

.nav-links a:hover:after,
.nav-links a.active:after {
    width: 100%;
}

/* Mobile Navigation - Enhanced with !important */
@media (max-width: 992px) {
    .hamburger {
        display: flex !important;
        position: relative !important;
        z-index: 1001 !important;
        background: none !important;
        border: none !important;
        padding: 10px !important;
        cursor: pointer !important;
        margin-left: auto !important;
    }
    
    .main-nav {
        position: fixed !important;
        top: 0 !important;
        left: -100% !important;
        width: 80% !important;
        max-width: 300px !important;
        height: 100vh !important;
        background: #ffffff !important; /* Changed from #62A780 to white */
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.2) !important;
        z-index: 1000 !important;
        padding: 80px 0 40px !important;
        margin: 0 !important;
        transition: left 0.3s ease-in-out !important;
        overflow-y: auto !important;
        flex-direction: column !important;
        justify-content: flex-start !important;
        display: flex !important;
    }
    
    .main-nav.is-active {
        left: 0 !important;
    }
    
    .nav-links {
        flex-direction: column !important;
        gap: 0 !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        display: flex !important;
    }
    
    .nav-links li {
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        display: block !important;
    }
    
    .nav-links a {
        display: block !important;
        padding: 16px 25px !important;
        color: #1a365d !important; /* Changed from #614511 to dark blue */
        font-size: 16px !important;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important; /* Lighter border for white background */
        transition: all 0.3s ease !important;
        text-align: left !important;
        white-space: normal !important;
    }
    
    .nav-links a:hover,
    .nav-links a:focus,
    .nav-links a.active {
        color: #ffffff !important; /* White text on hover/active */
        background-color: #2c5282 !important; /* Darker blue on hover/active */
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
    }
    
    /* Ensure active page link has white text even when not hovered */
    .nav-links a.active:not(:hover):not(:focus) {
        color: #ffffff !important;
        background-color: #2c5282 !important;
    }
    
    .nav-links a:after {
        display: none !important;
    }
    
    .header-social {
        display: none !important;
    }
    
    /* Ensure header container is properly spaced */
    header .container {
        padding: 0.75rem 1.5rem !important;
    }
    
    /* Hide desktop navigation on mobile */
    .desktop-nav {
        display: none !important;
    }
}

/* Welcome Hero Section */
.welcome-hero {
    background-color: #f5f5f5;
    padding: 1rem 0; /* Reduced padding */
    margin: 0;
    width: 100%;
    box-sizing: border-box;
    position: relative;
    z-index: 1;
    color: #1a365d;
    min-height: auto; /* Changed from 100vh */
    display: block; /* Changed from flex */
    text-align: center;
}

.welcome-hero .container {
    width: 100%;
    max-width: 900px; /* Slightly narrower for better readability */
    padding: 40px 20px; /* Reduced vertical padding */
    margin: 0 auto;
    text-align: center;
}

/* Main content starts right after the header */
main {
    padding-top: 0; /* Remove extra padding */
    position: relative;
    margin-top: 0;
}

/* Mobile styles for welcome section */
@media (max-width: 992px) {
    .welcome-hero {
        background-color: #f5f5f5 !important;
        padding: 0 !important;
        margin: 40px 0 0 0 !important; /* Set to 40px */
    }
    
    .welcome-hero .container {
        padding: 30px 20px 50px 20px;
    }
    
    .welcome-hero h1 {
        font-size: 2.5rem; /* 2rem * 1.25 */
    }
    
    .welcome-hero p {
        font-size: 1.25rem; /* 1rem * 1.25 */
    }
    
    .welcome h2 {
        font-size: 1.8rem;
        padding: 0.8rem 0 1.2rem !important;
        margin: 0 !important;
    }
    
    .welcome p {
        margin: 0;
        padding: 0.5rem 1rem;
    }
    
    main {
        margin-top: 0;
    }
}

.welcome-hero h1 {
    color: var(--primary-color);
    font-size: 3.125rem; /* 2.5rem * 1.25 */
    margin: 0 0 1.5rem 0;
    padding: 0;
    line-height: 1.2;
}

.welcome-hero p {
    color: var(--text-color);
    font-size: 1.5rem; /* 1.2rem * 1.25 */
    max-width: 800px;
    margin: 0 auto;
    padding: 8px 0;
    line-height: 1.3;
}

/* Hero Section */
.hero {
    background: url('../images/background.png') center/cover no-repeat;
    height: 60vh;
    margin: 0;
    padding: 0;
    position: relative;
}

.hero h1,
.hero p {
    position: relative;
    z-index: 2;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.hero h1 {
    font-size: 3.45rem; /* Increased from 3rem */
    margin-bottom: 1.725rem; /* Increased from 1.5rem */
    color: var(--primary-color);
}

.hero p {
    font-size: 1.38rem; /* Increased from 1.2rem */
    margin-bottom: 0.575rem; /* Increased from 0.5rem */
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Page Header */
.page-header {
    text-align: center;
    padding: 4rem 0 0; /* Removed bottom padding completely */
}

.page-header .about-image {
    max-width: 360px; /* Increased from 300px (20% larger) */
    margin: 2rem auto 0;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-header .profile-img {
    width: 100%;
    height: auto;
    display: block;
}

/* About Section */
.about-section h3 {
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.about-section .training-list {
    margin-bottom: 2rem;
}

/* Welcome Section */
.welcome {
    background-color: var(--light-bg);
    text-align: center;
    padding: 0 !important;
    margin: 0 !important;
}

.welcome h2 {
    margin: 0;
    padding: 1rem 0 0.5rem;
    position: relative;
    display: inline-block;
}

.welcome h2 {
    margin: 0 !important;
    padding: 1rem 0 1.5rem !important;
    position: relative;
    display: inline-block;
}

.welcome h2:after {
    content: '';
    position: absolute;
    width: 50%;
    height: 3px;
    background-color: var(--accent-color);
    bottom: 0;
    left: 25%;
}

/* Services Preview */
.services-preview {
    text-align: center;
    padding: 5rem 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    justify-content: center;
}

/* Center the middle card */
.services-grid .center-card {
    margin: 0 auto;
}

/* Make the grid responsive */
@media (max-width: 1000px) {
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
    .services-grid .center-card {
        margin: 0;
    }
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    text-align: center;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.service-card i {
    font-size: 2.875rem; /* Increased from 2.5rem */
    color: var(--accent-color);
    margin-bottom: 1.725rem; /* Increased from 1.5rem */
}

.service-card h3 {
    margin-top: 50px;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.service-card p {
    margin-bottom: 1.5rem;
    color: var(--text-color);
    flex-grow: 1;
}

.service-card .btn-secondary {
    margin-top: auto;
    align-self: center;
    width: auto;
    min-width: 150px;
}

/* Buttons */
.btn, .btn-secondary {
    display: inline-block;
    padding: 0.92rem 2.3rem; /* Increased from 0.8rem 2rem */
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    cursor: pointer;
    text-align: center;
}

.btn {
    background-color: var(--primary-color);
    color: white;
    border: 2px solid var(--primary-color);
}

.btn:hover {
    background-color: transparent;
    color: var(--primary-color);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Footer Social Links */
.footer-social-links {
    display: flex;
    gap: 1.5rem;
    margin-top: 1.5rem;
    justify-content: flex-start;
}

.footer-social-links a {
    position: relative;
    display: block;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    text-align: center;
    line-height: 40px;
    transition: all 0.3s ease;
}

.footer-social-links a i {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.2rem;
}

.footer-social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* Contact Page Social Links */
.contact-info .social-links {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
}

.contact-info .social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px; /* Increased from 40px */
    height: 45px; /* Increased from 40px */
    background-color: var(--primary-color);
    border-radius: 50%;
    color: white;
    font-size: 1.8rem; /* Increased from 1.2rem (50% larger) */
    transition: all 0.3s ease;
}

.contact-info .social-links a:hover {
    background-color: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* Footer */
footer {
    background-color: #2c3e50;
    color: white;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: white;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-section h3:after {
    content: '';
    position: absolute;
    width: 50px;
    height: 2px;
    background-color: var(--accent-color);
    bottom: 0;
    left: 0;
}

.footer-section p, .footer-section a {
    color: #ecf0f1;
    margin-bottom: 0.8rem;
    display: block;
}

.footer-section a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

/* Legal Links in Footer */
.footer-section ul li.legal-links {
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-section ul li.legal-links div {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.8);
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-section ul li.legal-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.footer-section ul li.legal-links a:hover {
    color: white;
    text-decoration: underline;
}

/* Social Links in Footer */
.footer-social-links {
    display: flex;
    gap: 1rem;
}

.footer-social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.footer-social-links a:hover {
    background-color: #1a5276;
    transform: translateY(-3px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive Design */
/* Mobile Menu Styles */
.hamburger {
    display: none; /* Will be shown on mobile */
    cursor: pointer;
    background: none;
    border: none;
    padding: 10px 5px;
    margin: 0;
    z-index: 1000;
    position: relative;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
}

.hamburger-box {
    display: inline-block;
    position: relative;
    width: 30px;
    height: 20px;
}

.hamburger-inner {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #1a365d;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

.hamburger-inner::before,
.hamburger-inner::after {
    content: '';
    display: block;
    width: 100%;
    height: 2px;
    background-color: #1a365d;
    position: absolute;
    left: 0;
}

.hamburger-inner::before {
    top: -8px;
}

.hamburger-inner::after {
    bottom: -8px;
}

/* Active state - Keep all three lines visible, just change color */
.hamburger.active .hamburger-inner,
.hamburger.active .hamburger-inner::before,
.hamburger.active .hamburger-inner::after {
    background-color: #1a4b8c; /* Slightly lighter blue when active */
    transform: none;
    top: auto;
    bottom: auto;
}

/* Reset any transforms on active state */
.hamburger.active .hamburger-inner::before {
    top: -8px;
}

.hamburger.active .hamburger-inner::after {
    bottom: -8px;
}

/* Mobile Navigation */
@media (max-width: 992px) {
    /* Remove bullet points from footer links on mobile */
    .footer ul,
    .footer ul li,
    .footer-links,
    .footer-links li,
    .footer-links ul,
    .footer-links ul li,
    .footer-section ul,
    .footer-section ul li,
    .footer-section .footer-links,
    .footer-section .footer-links li,
    .footer-container ul,
    .footer-container ul li {
        list-style: none !important;
        list-style-type: none !important;
        padding-left: 0 !important;
        margin-left: 0 !important;
        background: none !important;
    }
    
    .footer li::before,
    .footer-links li::before,
    .footer-section li::before,
    .footer-container li::before {
        content: "" !important;
        display: none !important;
    }
    
    /* Center align footer content on mobile */
    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .footer-section {
        width: 100%;
        max-width: 300px;
        margin: 0 auto 2.5rem;
    }
    
    .footer-section:last-child {
        margin-bottom: 0;
    }
    
    .footer-section h3:after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-links {
        justify-content: center;
    }
    
    .hamburger {
        display: flex;
        order: 1;
        padding: 8px;
        margin-right: 0.5rem;
        background: none;
        border: none;
        cursor: pointer;
    }
    
    .logo {
        order: 2;
        flex: 1;
        text-align: left;
        min-width: 0;
        padding-left: 0.5rem;
    }
    
    .logo h1 {
        font-size: 1.6rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        margin: 0;
        line-height: 1.2;
    }
    
    .logo p {
        font-size: 0.9rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        margin: 0.2rem 0 0;
    }
    
    .header-social {
        order: 3;
        margin-left: auto;
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }
    
    .header-social a {
        width: 30px;
        height: 30px;
        font-size: 1.2rem;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Mobile Navigation Menu */
    .main-nav {
        position: fixed;
        top: 0;
        left: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: white;
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
        z-index: 999;
        padding: 80px 0 20px;
        margin: 0;
        list-style: none;
        transition: left 0.3s ease;
        display: block !important; /* Ensure it's always block for transitions */
    }
    
    .main-nav.is-active {
        left: 0;
    }
    
    .main-nav .nav-links {
        display: flex;
        flex-direction: column;
        width: 100%;
        padding: 0;
        margin: 0;
        list-style: none;
    }
    
    .main-nav .nav-links li {
        width: 100%;
        margin: 0;
        padding: 0;
    }
    
    .main-nav .nav-links a {
        display: block;
        font-size: 1.1rem;
        padding: 15px 25px;
        color: #1a365d;
        text-align: left;
        border-bottom: 1px solid #f0f0f0;
        text-decoration: none;
        font-weight: 500;
        transition: all 0.3s ease;
    }
    
    .main-nav .nav-links a:hover,
    .main-nav .nav-links a:focus {
        background-color: #e6f0ff;
        color: #0d47a1;
    }
    
    .main-nav .nav-links a.active {
        background-color: #1a365d;
        color: white;
    }
    
    .main-nav {
        position: relative;
        z-index: 10000;
    }
    
    .nav-links a:hover,
    .nav-links a:focus,
    .nav-links a.active {
        background-color: rgba(26, 54, 93, 0.1);
        color: #0d1a30;
    }
    
    .header-social {
        margin-left: auto;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    /* Prevent body scroll when menu is open */
    body.menu-open {
        overflow: hidden;
    }
}

@media (max-width: 768px) {
    section {
        padding: 3rem 0;
    }
    
    /* Position text directly below hero image */
    .welcome {
        padding-top: 0 !important;
        margin-top: 0 !important;
        position: relative;
        z-index: 10;
    }

    .hero {
        height: 30vh;
        margin-top: 70px;
        margin-bottom: 0;
        /* Keep pink flowers visible with contain sizing */
        background-size: contain;
        background-position: center top;
        background-repeat: no-repeat;
        /* Add gradient overlay at bottom to blend with welcome section */
        position: relative;
    }
    
    .hero::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 30%;
        background: linear-gradient(to bottom, transparent 0%, var(--light-bg) 100%);
        pointer-events: none;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }
}

/* Contact Form Styles */
.contact-form .form-control,
.contact-form select,
.contact-form textarea {
    font-size: 1.84rem; /* Original body font size */
    padding: 1rem;
    margin-bottom: 1.5rem;
    width: 100%;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
}

.contact-form .btn-submit {
    font-size: 1.84rem; /* Original body font size */
    padding: 1rem 2rem;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 25px; /* More rounded corners */
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-form .btn-submit:hover {
    background-color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }
