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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

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

/* Header & Navigation */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

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

.nav-logo h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2563eb;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Logo image styling */
.nav-logo img#site-logo {
    height: 44px; /* adjust to fit your header */
    width: auto;
    display: block;
}

@media (max-width: 480px) {
    .nav-logo img#site-logo {
        height: 36px;
    }
}

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

/* Services submenu styles */
.has-submenu {
    position: relative;
}

.has-submenu > .nav-link {
    cursor: pointer;
}

.submenu {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    background: white;
    padding: 0.25rem 0;
    list-style: none;
    border-radius: 8px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
    min-width: 200px;
    z-index: 1100;
}

.submenu li a {
    display: block;
    padding: 0.5rem 1rem;
    color: #333;
    white-space: nowrap;
}

.submenu li a:hover {
    background: #f3f4f6;
    color: #2563eb;
}

/* show submenu on hover for desktop */
.has-submenu:hover > .submenu {
    display: block;
}

/* also show submenu when the parent receives focus (keyboard or single click focus) */
.has-submenu:focus-within > .submenu {
    display: block;
}

/* ensure dropdown sits above other content */
.submenu {
    z-index: 1200;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

/* make nav-toggle (button) look like a link */
.nav-toggle {
    background: none;
    border: none;
    font: inherit;
    color: inherit;
    padding: 0;
    cursor: pointer;
}

.nav-link:hover {
    color: #2563eb;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #2563eb;
    transition: width 0.3s ease;
}

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

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

.bar {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: black;
    color: white;
    padding: 0 2rem;
    margin-top: 80px;
}

.hero-content {
    flex: 1;
    max-width: 600px;
    margin-right: 2rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-button {
    display: inline-block;
    background: #fff;
    color: #6b7280;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-placeholder {
    width: 400px;
    height: 300px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.hero-placeholder i {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.8;
}

/* Section Styles */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    color: #1f2937;
}

.section-subtitle {
    text-align: center;
    font-size: 1.125rem;
    color: #6b7280;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Featured Photos Section */
.featured {
    padding: 5rem 0;
    background: #f9fafb;
}

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

.photo-item {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.photo-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.photo-placeholder {
    height: 250px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
}

.photo-placeholder i {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.8;
}

.photo-image {
    height: 250px;
    overflow: hidden;
    border-radius: 15px 15px 0 0;
}

.photo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.photo-info {
    padding: 1.5rem;
}

.photo-info h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1f2937;
}

.photo-info p {
    color: #6b7280;
}

/* Latest Issues Section */
.issues {
    padding: 5rem 0;
    background: white;
}

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

.issue-item {
    background: #f9fafb;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease;
}

.issue-item:hover {
    transform: translateY(-5px);
}

.issue-cover {
    margin-bottom: 1.5rem;
}

.cover-placeholder {
    width: 200px;
    height: 250px;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    border-radius: 10px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.3);
}

.cover-placeholder i {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.issue-info h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1f2937;
}

.issue-info p {
    color: #6b7280;
    margin-bottom: 1rem;
}

.issue-link {
    color: #2563eb;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.issue-link:hover {
    color: #1d4ed8;
}

/* About Section */
.about {
    padding: 5rem 0;
    background: #f9fafb;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-description {
    font-size: 1.125rem;
    color: #6b7280;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

/* Improve readability: limit line length and justify on wider screens, keep left-aligned on small screens */
.about-text {
    max-width: 68ch; /* optimal measure for readable text lines */
}

.about-description {
    text-align: justify;
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    hyphens: auto;
}

@media (max-width: 680px) {
    .about-text {
        max-width: none;
    }
    .about-description {
        text-align: left; /* avoid awkward gaps on narrow screens */
        font-size: 1rem;
    }
}

.stats {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-item h3 {
    font-size: 2rem;
    font-weight: 700;
    color: #2563eb;
    margin-bottom: 0.5rem;
}

.stat-item p {
    color: #6b7280;
    font-weight: 500;
}

.about-image {
    display: flex;
    justify-content: center;
}

.about-placeholder {
    width: 400px;
    height: 300px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
}

.about-placeholder i {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.8;
}

/* Booking Section */
.booking {
    padding: 5rem 0;
    background: white;
}

.booking-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.form {
    background: #f9fafb;
    padding: 2rem;
    border-radius: 15px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #374151;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2563eb;
}

.submit-button {
    width: 100%;
    background: black;
    color: white;
    padding: 1rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.submit-button:hover {
    background: #6b7280;
}

.booking-info h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #1f2937;
}

.features-list {
    list-style: none;
    margin-bottom: 2rem;
}

.features-list li {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
    color: #374151;
}

.features-list i {
    color: #10b981;
    margin-right: 0.75rem;
    font-size: 1.125rem;
}

.pricing-preview {
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    color: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
}

.pricing-preview h4 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

.price {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.pricing-preview p {
    opacity: 0.9;
}

/* Contact Section */
.contact {
    padding: 5rem 0;
    background: #f9fafb;
}

.contact-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.contact-item i {
    font-size: 1.5rem;
    color: black;
    margin-right: 1rem;
    margin-top: 0.25rem;
}

.contact-item h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1f2937;
}

.contact-item p {
    color: #6b7280;
    line-height: 1.5;
}

.social-links h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1f2937;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: black;
    color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: #798ab9;
    transform: translateY(-2px);
}

/* Footer */
.footer {
    background: #1f2937;
    color: white;
    padding: 3rem 0 1rem;
}

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

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: white;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: white;
}

.newsletter-form {
    display: flex;
    margin-top: 1rem;
}

.newsletter-form input {
    flex: 1;
    padding: 0.75rem;
    border: none;
    border-radius: 8px 0 0 8px;
    font-size: 1rem;
}

.newsletter-form button {
    background: black;
    color: white;
    border: none;
    padding: 0.75rem 1rem;
    border-radius: 0 8px 8px 0;
    cursor: pointer;
    font-weight: 500;
    transition: background 0.3s ease;
}

.newsletter-form button:hover {
    background: #6b7280;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #374151;
    color: #9ca3af;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

    /* mobile submenu becomes static block inside the nav panel */
    .submenu {
        position: static;
        box-shadow: none;
        border-radius: 0;
        min-width: auto;
        display: none;
    }

    /* when mobile menu is opened (hamburger active -> .nav-menu.active), show submenu automatically */
    .nav-menu.active .submenu {
        display: block;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 1rem 0;
    }
    
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 2rem 1rem;
    }
    
    .hero-content {
        margin-right: 0;
        margin-bottom: 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-placeholder {
        width: 300px;
        height: 200px;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .stats {
        justify-content: center;
    }
    
    .booking-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .social-icons {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .nav-container {
        padding: 1rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .photo-grid,
    .issues-grid {
        grid-template-columns: 1fr;
    }
    
    .stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form input {
        border-radius: 8px;
        margin-bottom: 0.5rem;
    }
    
    .newsletter-form button {
        border-radius: 8px;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

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

.photo-item,
.issue-item {
    animation: fadeInUp 0.6s ease-out;
}

/* Hover effects */
.photo-item:hover .photo-placeholder,
.issue-item:hover .cover-placeholder {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

/* Hamburger animation */
.hamburger.active .bar:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.active .bar:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

.bar {
    transition: 0.3s;
}
/* Submenu Styles */
.nav-menu .submenu {
    display: none;
    position: absolute;
    background: white;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border-radius: 8px;
    min-width: 200px;
    top: 100%;
    left: 0;
    z-index: 1000;
    padding: 0.5rem 0;
}

/* Show submenu on hover for desktop */
.has-submenu:hover .submenu {
    display: block;
}

/* Remove all CSS-generated arrows - they're causing duplicates */
.nav-toggle::after,
.has-submenu.active .nav-toggle::after {
    content: "" !important;
}

/* Style the HTML arrow */
.dropdown-arrow {
    margin-left: 4px;
    transition: transform 0.3s ease;
}

.has-submenu.active .dropdown-arrow {
    transform: rotate(180deg);
}

/* Mobile Styles */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0,0,0,0.05);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    /* Mobile submenu styles */
    .nav-menu.active .submenu {
        display: none;
        position: static;
        box-shadow: none;
        background: rgba(0,0,0,0.03);
        padding-left: 0;
        margin: 0.5rem 0;
    }

    .nav-menu.active .has-submenu.active .submenu {
        display: block;
    }

    .nav-menu .submenu {
        display: none;
    }

    /* Mobile menu items */
    .nav-menu li {
        margin: 0.5rem 0;
        width: 100%;
    }

    .nav-link {
        display: block;
        padding: 1rem 2rem;
        width: 100%;
        text-align: center;
    }

    /* Ensure proper spacing for mobile submenu items */
    .submenu .nav-link {
        padding: 0.75rem 2rem;
        text-align: center;
        background: rgba(0,0,0,0.02);
    }
}

/* Desktop Styles */
@media (min-width: 769px) {
    .nav-menu {
        display: flex;
        align-items: center;
        gap: 2rem;
    }

    .has-submenu {
        position: relative;
    }

    .nav-toggle {
        display: flex;
        align-items: center;
        gap: 4px;
    }
}