/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2c5530;
    --secondary-color: #8fbc8f;
    --accent-color: #d4af37;
    --text-dark: #2c3e50;
    --text-light: #7f8c8d;
    --background-light: #f8f9fa;
    --background-white: #ffffff;
    --shadow-light: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 5px 25px rgba(0, 0, 0, 0.15);
    --shadow-heavy: 0 10px 40px rgba(0, 0, 0, 0.2);
    --gradient-primary: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    --gradient-overlay: linear-gradient(135deg, rgba(44, 85, 48, 0.8) 0%, rgba(143, 188, 143, 0.6) 100%);
    --border-radius: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --vh: 1vh; /* Custom viewport height property for mobile browsers */
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--background-light);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Debugging and Cross-browser compatibility */
.hero-title,
.hero-subtitle,
.hero-location-note,
.hero-highlights,
.hero-buttons {
    /* Ensure elements are visible in all browsers */
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
}

.hero-highlights {
    display: flex !important;
    display: -webkit-flex !important;
}

.hero-buttons {
    display: flex !important;
    display: -webkit-flex !important;
}

.highlight {
    display: flex !important;
    display: -webkit-flex !important;
}

/* Force text rendering in problematic browsers */
.hero-title,
.hero-subtitle {
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography */
.section-title {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 600;
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 1rem;
    position: relative;
}

.section-title::after {
    content: '';
    width: 80px;
    height: 3px;
    background: var(--gradient-primary);
    display: block;
    margin: 20px auto;
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.1rem;
    text-align: center;
    color: var(--text-light);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(44, 85, 48, 0.1);
    z-index: 1000;
    transition: var(--transition);
    min-height: 80px; /* Ensure consistent height */
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    min-height: 60px; /* Ensure consistent container height */
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 1.2rem;
    color: var(--primary-color);
}

.nav-logo i {
    font-size: 1.5rem;
    color: var(--accent-color);
}

.nav-menu {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    margin: 3px 0;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    height: 100vh;
    height: 100dvh; /* Dynamic viewport height for modern browsers */
    min-height: 600px; /* Fallback minimum height */
    background: 
        linear-gradient(135deg, rgba(44, 85, 48, 0.85) 0%, rgba(143, 188, 143, 0.75) 100%),
        url('../assets/img/salon0 Large.jpeg') center/cover;
    background-attachment: scroll; /* Better mobile performance */
    display: flex;
    align-items: flex-start; /* Changed from center to flex-start */
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
    padding-top: 100px; /* Reduced padding since content is top-aligned */
    padding-bottom: 6rem; /* Increased to provide space for negative margin */
    min-height: calc(100vh - 100px);
    overflow: hidden; /* Prevent content overflow */
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 10; /* Reduced from 100 to avoid collision with Quick Info */
    max-width: 800px;
    width: 100%; /* Ensure full width on small screens */
    padding: 0 2rem;
    animation: fadeInUp 0.8s ease-out;
    /* Fallbacks for older browsers */
    display: block;
    margin: 0 auto;
}

.hero-title {
    font-family: 'Poppins', sans-serif;
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; /* Better fallbacks */
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: -0.02em;
    line-height: 1.2; /* Better line height */
    color: white; /* Explicit color */
    display: block; /* Ensure visibility */
}

.hero-subtitle {
    font-family: 'Inter', sans-serif;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: clamp(1.1rem, 3vw, 1.4rem);
    margin-bottom: 0.5rem;
    opacity: 0.95;
    font-weight: 400;
    letter-spacing: 0.02em;
    color: white;
    display: block;
    line-height: 1.4;
}

.hero-location-note {
    font-family: 'Inter', sans-serif;
    font-size: clamp(1rem, 2.8vw, 1.3rem);
    margin-bottom: 2rem;
    opacity: 1;
    font-weight: 700;
    color: var(--accent-color);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
    background: rgba(212, 175, 55, 0.15);
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    border: 2px solid rgba(212, 175, 55, 0.3);
    backdrop-filter: blur(5px);
    display: inline-block;
}

.hero-highlights {
    display: flex;
    display: -webkit-flex; /* Safari fallback */
    justify-content: center;
    -webkit-justify-content: center;
    gap: 1.2rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    -webkit-flex-wrap: wrap;
    width: 100%;
}

.hero-buttons {
    display: flex;
    display: -webkit-flex;
    justify-content: center;
    -webkit-justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    -webkit-flex-wrap: wrap;
    margin-bottom: 3rem;
    position: relative;
    z-index: 15; /* Reduced from 50 */
    width: 100%;
}

.highlight {
    display: flex;
    display: -webkit-flex;
    align-items: center;
    -webkit-align-items: center;
    gap: 0.4rem;
    background: rgba(255, 255, 255, 0.15);
    /* Fallback for older browsers */
    background: rgba(255, 255, 255, 0.2);
    padding: 0.6rem 1.2rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 0.9rem;
    color: white;
    min-width: 100px;
    justify-content: center;
    -webkit-justify-content: center;
}

.highlight:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.highlight i {
    font-size: 1rem;
    color: var(--accent-color);
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: var(--accent-color);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
    background: #f4d45f;
}

.cta-button-secondary {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.cta-button-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    color: white;
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Quick Info */
.quick-info {
    background: var(--background-white);
    padding: 4rem 0;
    margin-top: -3rem;
    position: relative;
    z-index: 5;
    border-radius: 30px 30px 0 0;
    box-shadow: var(--shadow-medium);
}

.quick-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.quick-card {
    text-align: center;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    background: var(--background-light);
    transition: var(--transition);
    border: 2px solid transparent;
}

.quick-card:hover {
    transform: translateY(-5px);
    border-color: var(--secondary-color);
    box-shadow: var(--shadow-medium);
}

.quick-card i {
    font-size: 2.2rem;
    color: var(--accent-color);
    margin-bottom: 0.8rem;
}

.quick-card h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 0.4rem;
    font-weight: 600;
}

.quick-card p {
    color: var(--text-light);
    font-weight: 500;
    font-size: 0.95rem;
}

/* Gallery Section */
.gallery-section {
    padding: 6rem 0;
    background: var(--background-light);
}

.gallery-hint {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 2rem;
    padding: 1rem 1.5rem;
    background: rgba(212, 175, 55, 0.1);
    border: 2px dashed var(--accent-color);
    border-radius: var(--border-radius);
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.95rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 3rem;
    transition: var(--transition);
}

.gallery-hint:hover {
    background: rgba(212, 175, 55, 0.15);
    transform: translateY(-2px);
    box-shadow: var(--shadow-light);
}

.gallery-hint i {
    color: var(--accent-color);
    font-size: 1.2rem;
    animation: pointPulse 2s infinite;
}

@keyframes pointPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.8;
    }
    50% {
        transform: scale(1.1);
        opacity: 1;
    }
}

.gallery-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.tab-button {
    padding: 0.75rem 1.5rem;
    background: var(--background-white);
    border: 2px solid var(--secondary-color);
    border-radius: 50px;
    color: var(--primary-color);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.tab-button:hover,
.tab-button.active {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-light);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.gallery-item {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
    background: var(--background-white);
    box-shadow: var(--shadow-light);
}

.gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-heavy);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--gradient-overlay);
    color: white;
    padding: 1.5rem;
    transform: translateY(100%);
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-info h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.gallery-info p {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Details Section */
.details-section {
    padding: 6rem 0;
    background: var(--background-white);
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 4rem;
}

/* For larger screens, ensure 4 columns layout */
@media (min-width: 1200px) {
    .details-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 2rem;
    }
}

/* For medium screens, 2 columns layout */
@media (min-width: 768px) and (max-width: 1199px) {
    .details-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

/* For small screens, 1 column layout */
@media (max-width: 767px) {
    .details-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* Enhanced location map for larger screens */
@media (min-width: 1200px) {
    .location-map {
        max-width: 700px;
        min-height: 500px;
    }
    
    .location-content {
        gap: 3rem;
    }
}

.details-card {
    background: var(--background-light);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    border-top: 4px solid var(--accent-color);
}

.details-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.card-header {
    background: var(--gradient-primary);
    color: white;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.card-header i {
    font-size: 1.5rem;
    color: var(--accent-color);
}

.card-header h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
}

.details-list {
    list-style: none;
    padding: 1.5rem;
}

.details-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(143, 188, 143, 0.2);
    transition: var(--transition);
}

.details-list li:hover {
    background: rgba(143, 188, 143, 0.1);
    padding-left: 1rem;
}

.details-list li:last-child {
    border-bottom: none;
}

.details-list strong {
    color: var(--primary-color);
    font-weight: 600;
}

/* Video Section */
.video-section {
    text-align: center;
    margin-top: 4rem;
}

.video-section h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-weight: 600;
}

.video-container {
    position: relative;
    max-width: 600px; /* Increased for Full HD displays */
    width: 100%;
    margin: 0 auto;
    height: 70vh; /* Use viewport height for better Full HD experience */
    max-height: 800px; /* Prevent too large on very tall screens */
    min-height: 400px; /* Minimum height for smaller screens */
    overflow: hidden;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-medium);
    background: #000;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: var(--border-radius);
}

/* Location Section */
.location-section {
    padding: 6rem 0;
    background: var(--background-light);
}

.location-key-benefit {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 2rem 3rem;
    border-radius: var(--border-radius);
    margin-bottom: 4rem;
    box-shadow: var(--shadow-heavy);
    position: relative;
    overflow: hidden;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 4rem;
}

.location-key-benefit::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="40" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="40" cy="80" r="1.5" fill="rgba(255,255,255,0.1)"/></svg>');
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.benefit-icon {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 1;
}

.benefit-icon i {
    font-size: 2.5rem;
    color: var(--accent-color);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.benefit-content {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 1;
}

.benefit-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.benefit-content p {
    font-size: 1.1rem;
    opacity: 0.9;
    font-weight: 500;
}

.benefit-badge {
    background: var(--accent-color);
    color: var(--primary-color);
    border-radius: 50%;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
    position: relative;
    z-index: 1;
    animation: bounce 3s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

.location-content {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 4rem;
    align-items: start;
}

.location-info h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.location-proximity {
    color: var(--accent-color);
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    padding: 0.5rem 1rem;
    background: rgba(212, 175, 55, 0.1);
    border-left: 4px solid var(--accent-color);
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

.location-info p {
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.location-highlights {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.location-highlight {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: var(--background-white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    transition: var(--transition);
}

.location-highlight:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-medium);
}

.location-highlight i {
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-top: 0.2rem;
}

.location-highlight h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.location-highlight p {
    color: var(--text-light);
    margin: 0;
    font-size: 0.9rem;
}

.map-container {
    position: relative;
    text-align: center;
}

.location-map-wrapper {
    position: relative;
    display: inline-block;
    cursor: pointer;
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition);
}

.location-map-wrapper:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-heavy);
}

.location-map {
    width: 100%;
    max-width: 600px;
    height: auto;
    min-height: 400px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-medium);
    transition: var(--transition);
    cursor: zoom-in;
}

.location-map-wrapper:hover .location-map {
    transform: scale(1.02);
}

.location-map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(44, 85, 48, 0.8);
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    opacity: 0;
    transition: var(--transition);
    border-radius: var(--border-radius);
}

.location-map-wrapper:hover .location-map-overlay {
    opacity: 1;
}

.location-map-overlay i {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.location-map-overlay span {
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
}

.location-map:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-heavy);
}

.map-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    padding: 0.75rem 1.5rem;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: var(--border-radius);
    font-weight: 500;
    transition: var(--transition);
}

.map-link:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

/* Contact Section */
.contact-section {
    padding: 6rem 0;
    background: var(--background-white);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    max-width: 800px;
    margin: 0 auto;
}

.contact-info h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

.contact-subtitle {
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--background-light);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.contact-method:hover {
    background: rgba(143, 188, 143, 0.1);
    transform: translateX(5px);
}

.contact-method i {
    font-size: 1.5rem;
    color: var(--accent-color);
    width: 30px;
}

.contact-method h4 {
    color: var(--primary-color);
    margin-bottom: 0.25rem;
    font-weight: 600;
}

.contact-method a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.contact-method a:hover {
    color: var(--secondary-color);
}

/* Styling for hidden contact info */
.contact-method a[onclick] {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 8px 16px;
    border-radius: 6px;
    border: 1px dashed #ced4da;
    cursor: pointer;
    display: inline-block;
    font-size: 0.9rem;
    position: relative;
    overflow: hidden;
}

.contact-method a[onclick]:hover {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    border-color: var(--secondary-color);
    color: var(--secondary-color);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(44, 82, 130, 0.15);
}

.contact-method a[onclick]::before {
    content: "👆";
    position: absolute;
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1rem;
    opacity: 0.7;
}

.contact-method a[onclick] span {
    margin-left: 20px;
}

/* Animation for revealed contacts */
.contact-method a.revealed {
    background: linear-gradient(135deg, #e8f5e8 0%, #c8e6c8 100%);
    border-color: #4caf50;
    animation: revealContact 0.5s ease-out;
}

@keyframes revealContact {
    0% {
        transform: scale(0.95) translateY(5px);
        opacity: 0.7;
    }
    50% {
        transform: scale(1.05) translateY(-2px);
    }
    100% {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}

.contact-note {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: rgba(212, 175, 55, 0.1);
    border-radius: var(--border-radius);
    border-left: 4px solid var(--accent-color);
}

.contact-note i {
    color: var(--accent-color);
    margin-top: 0.2rem;
}

.contact-note p {
    color: var(--text-dark);
    font-style: italic;
    margin: 0;
}

/* Footer */
.footer {
    background: var(--primary-color);
    color: white;
    text-align: center;
    padding: 2rem 0;
}

.footer p {
    margin: 0.5rem 0;
    opacity: 0.9;
}

.footer .version-info {
    font-size: 0.85rem;
    opacity: 0.7;
    font-weight: 300;
    margin-top: 1rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    margin: auto;
    top: 50%;
    transform: translateY(-50%);
    text-align: center;
}

.lightbox-header {
    position: absolute;
    top: -100px;
    left: 0;
    right: 0;
    color: white;
    text-align: center;
    background: rgba(0, 0, 0, 0.7);
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
    backdrop-filter: blur(10px);
    margin: 0 auto;
    max-width: 600px;
}

.lightbox-header h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: var(--accent-color);
    font-weight: 600;
}

.lightbox-header p {
    opacity: 0.9;
    font-size: 1.1rem;
    margin: 0;
    line-height: 1.5;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-heavy);
}

.lightbox-close {
    position: absolute;
    top: -50px;
    right: 0;
    color: white;
    font-size: 3rem;
    font-weight: bold;
    cursor: pointer;
    z-index: 10001;
    transition: var(--transition);
}

.lightbox-close:hover {
    color: var(--accent-color);
    transform: scale(1.1);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    pointer-events: none;
}

.lightbox-nav button {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    padding: 1rem;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    transition: var(--transition);
    pointer-events: all;
    backdrop-filter: blur(10px);
}

.lightbox-nav button:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.lightbox-info {
    position: absolute;
    bottom: -80px;
    left: 0;
    right: 0;
    color: white;
    text-align: center;
}

.lightbox-info h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--accent-color);
    font-weight: 600;
}

.lightbox-info p {
    opacity: 0.9;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Safari-specific fixes */
@supports (-webkit-appearance: none) {
    .navbar {
        min-height: 80px; /* Ensure consistent navbar height in Safari */
    }
    
    .nav-container {
        min-height: 60px; /* Ensure container height */
    }
    
    .hero {
        padding-top: 120px; /* Reduced Safari padding for desktop */
        min-height: calc(100vh - 120px);
        /* Safari-specific background fixes */
        background-attachment: scroll;
        -webkit-transform: translateZ(0); /* Force hardware acceleration */
        transform: translateZ(0); /* Standard property */
        padding-bottom: 6rem; /* Increased to provide space for negative margin */
    }
    
    .hero-content {
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
    }
    
    .hero-title,
    .hero-subtitle,
    .hero-location-note {
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }
}

/* iOS Safari specific fixes */
@supports (-webkit-touch-callout: none) {
    .hero {
        padding-top: 120px;
        min-height: calc(100vh - 120px);
        /* iOS Safari viewport fix */
        min-height: calc(100vh - 120px);
        min-height: calc(var(--vh, 1vh) * 100 - 120px);
    }
    
    .hero-content {
        /* Ensure content is visible on iOS */
        opacity: 1;
        visibility: visible;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    /* Ensure navbar height on mobile */
    .navbar {
        min-height: 80px; /* Increased base height */
    }
    
    .nav-container {
        min-height: 60px; /* Increased container height */
        padding: 1rem 2rem; /* Increased padding */
    }
    
    /* Fix for hero section being hidden behind fixed navbar */
    .hero {
        padding-top: 120px; /* Reduced padding since content is top-aligned */
        padding-bottom: 3.5rem; /* Balanced breathing room without forcing overflow */
        height: auto;
        min-height: auto !important;
        overflow: visible;
    }
    
    /* Safari-specific fixes */
    @supports (-webkit-appearance: none) {
        .hero {
            padding-top: 140px; /* Reduced Safari mobile padding */
            padding-bottom: 3.5rem;
            height: auto;
            min-height: auto !important;
            overflow: visible;
        }
    }
    
    /* iOS Safari specific viewport height fix */
    @supports (-webkit-touch-callout: none) {
        .hero {
            padding-top: 160px;
            padding-bottom: 3.5rem;
            height: auto;
            min-height: auto !important;
            overflow: visible;
        }
    }
    
    .hero-content {
        padding-top: 0.5rem; /* Minimal padding since hero is top-aligned */
    }
    
    /* Additional mobile-specific adjustments */
    .hero-title {
        margin-top: 0; /* Remove margin since content is top-aligned */
    }
    
    /* Improve spacing and positioning of hero elements */
    .hero-buttons {
        margin-bottom: 2rem; /* Reduced space since no scroll indicator */
        gap: 1.5rem;
    }
    
    .cta-button {
        padding: 0.9rem 1.8rem;
        font-size: 1rem;
    }
    
    .hero-highlights {
        gap: 1rem;
    }
    
    .highlight {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
    
    .quick-cards {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 1.2rem;
    }
    
    .quick-card {
        padding: 1.2rem 1rem;
    }
    
    .quick-card i {
        font-size: 2rem;
        margin-bottom: 0.6rem;
    }
    
    .quick-card h3 {
        font-size: 1rem;
        margin-bottom: 0.3rem;
    }
    
    .quick-card p {
        font-size: 0.9rem;
    }
    
    /* Ensure proper spacing between hero and quick-info on mobile */
    .quick-info {
        margin-top: 1.5rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-hint {
        font-size: 0.9rem;
        padding: 0.75rem 1rem;
        margin-bottom: 2rem;
    }
    
    .gallery-hint i {
        font-size: 1.1rem;
    }
    
    .details-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
    }
    
    .location-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .location-map {
        max-width: 500px;
        min-height: 300px;
    }
    
    .location-key-benefit {
        padding: 1.5rem 2rem;
        margin-bottom: 3rem;
    }
    
    .benefit-content h3 {
        font-size: 1.8rem;
    }
    
    .benefit-content p {
        font-size: 1rem;
    }
    
    .benefit-icon,
    .benefit-badge {
        width: 60px;
        height: 60px;
    }
    
    .benefit-icon i {
        font-size: 2rem;
    }
    
    .benefit-badge {
        font-size: 1rem;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .lightbox-nav {
        padding: 0 10px;
    }
    
    .lightbox-header {
        top: -80px;
        padding: 0.75rem 1rem;
        max-width: 300px;
    }
    
    .lightbox-header h3 {
        font-size: 1.3rem;
    }
    
    .lightbox-header p {
        font-size: 0.9rem;
    }
    
    .lightbox-nav button {
        padding: 0.75rem;
        font-size: 1.2rem;
    }
    
    /* Video responsive styles */
    .video-container {
        max-width: 350px;
        height: 60vh;
        max-height: 600px;
        min-height: 350px;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 1rem;
    }
    
    /* Enhanced mobile hero section fixes */
    .hero {
        padding-top: 130px; /* Reduced padding for very small screens */
        padding-bottom: 3rem;
        height: auto;
        min-height: auto !important;
        overflow: visible;
    }
    
    /* Safari-specific mobile fixes */
    @supports (-webkit-appearance: none) {
        .hero {
            padding-top: 150px; /* Reduced Safari padding for mobile */
            padding-bottom: 3rem;
            height: auto;
            min-height: auto !important;
            overflow: visible;
        }
    }
    
    /* iOS Safari specific fixes */
    @supports (-webkit-touch-callout: none) {
        .hero {
            padding-top: 150px;
            padding-bottom: 3rem;
            height: auto;
            min-height: auto !important;
            overflow: visible;
        }
    }
    
    .hero-content {
        padding-top: 1rem; /* Reduced padding since hero is top-aligned */
        padding-bottom: 3rem; /* Keep bottom padding for spacing */
    }
    
    /* Additional spacing for hero elements on mobile */
    .hero-title {
        margin-top: 0; /* Remove extra margin since content is top-aligned */
    }
    
    .hero-title {
        font-size: 2rem;
        line-height: 1.2;
        margin-bottom: 1.5rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .hero-highlights {
        flex-direction: column;
        align-items: center;
        margin-bottom: 2.5rem;
        gap: 0.8rem;
    }
    
    .highlight {
        width: 100%;
        max-width: 220px;
        justify-content: center;
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }
    
    .highlight i {
        font-size: 0.9rem;
    }
    
    /* Better button spacing and positioning */
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        margin-bottom: 3rem;
    }
    
    .cta-button {
        width: 100%;
        max-width: 250px;
        padding: 1rem 2rem;
        justify-content: center;
        font-size: 1rem;
    }
    
    .gallery-tabs {
        gap: 0.5rem;
    }
    
    .gallery-hint {
        font-size: 0.85rem;
        padding: 0.75rem;
        margin-bottom: 2rem;
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
    
    .tab-button {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
    
    .details-card {
        margin-bottom: 1rem;
    }
    
    .card-header {
        padding: 1rem;
    }
    
    .details-list {
        padding: 1rem;
    }
    
    .location-highlight,
    .contact-method {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .location-highlight i,
    .contact-method i {
        margin: 0;
    }
    
    .location-map {
        max-width: 100%;
        min-height: 250px;
        margin: 0 auto;
    }
    
    .location-key-benefit {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
        padding: 1.5rem 1rem;
        margin-bottom: 2rem;
    }
    
    .benefit-content h3 {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }
    
    .benefit-content p {
        font-size: 0.9rem;
    }
    
    .benefit-icon,
    .benefit-badge {
        width: 50px;
        height: 50px;
        margin: 0 auto;
    }
    
    .benefit-icon i {
        font-size: 1.5rem;
    }
    
    .benefit-badge {
        font-size: 0.9rem;
    }

    /* Video responsive styles for mobile */
    .video-container {
        max-width: 280px;
        height: 50vh;
        max-height: 500px;
        min-height: 300px;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .lightbox {
        display: none !important;
    }
    
    .hero {
        height: auto;
        padding: 2rem 0;
    }
    
    body {
        color: #000;
        background: #fff;
    }
    
    .section-title {
        color: #000;
    }
    
    .details-card,
    .quick-card {
        break-inside: avoid;
    }
}