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

body {
    font-family: 'Playfair Display', serif;
    line-height: 1.6;
    color: #1a1a1a;
    overflow-x: hidden;
    background-color: #ffffff;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

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

.nav-logo h2 {
    color: #1a1a1a;
    font-weight: 400;
    font-size: 1.6rem;
    font-family: 'Dancing Script', cursive;
    letter-spacing: 1px;
}

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

.nav-link {
    text-decoration: none;
    color: #1a1a1a;
    font-weight: 400;
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: #000000;
}

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

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

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

.bar {
    width: 25px;
    height: 3px;
    background-color: #2c3e50;
    margin: 3px 0;
    transition: 0.3s;
}

/* Dropdown Menu Styles */
.nav-item {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 200px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    border: 1px solid #f0f0f0;
    list-style: none;
    padding: 0;
    margin: 0;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    margin: 0;
    border-bottom: 1px solid #f0f0f0;
}

.dropdown-menu li:last-child {
    border-bottom: none;
}

.dropdown-menu a {
    display: block;
    padding: 12px 20px;
    color: #1a1a1a;
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.dropdown-menu a:hover {
    background-color: #f8f8f8;
    color: #000000;
    padding-left: 25px;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../images/index/portrait-photographer.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    padding: 100px 0 50px;
}

.hero-overlay {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: left;
}

.hero-content {
    max-width: 800px;
    margin: 0;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 300;
    font-family: 'Dancing Script', cursive;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: 2px;
}

.hero p {
    font-size: 1.1rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 300;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    letter-spacing: 0.5px;
    max-width: 600px;
    margin-left: 0;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 15px 35px;
    text-decoration: none;
    border-radius: 0;
    font-weight: 400;
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: #000000;
    color: white;
    border-color: #000000;
}

.btn-primary:hover {
    background: #ffffff;
    color: #000000;
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: white;
    border-color: white;
}

.btn-secondary:hover {
    background: white;
    color: #000000;
    transform: translateY(-2px);
}



/* Section Titles */
.section-title {
    text-align: center;
    font-size: 2.8rem;
    font-weight: 300;
    font-family: 'Dancing Script', cursive;
    margin-bottom: 4rem;
    color: #1a1a1a;
    position: relative;
    letter-spacing: 2px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 1px;
    background: #000000;
}

/* Services Section */
.services {
    padding: 80px 0;
    background: #f8f9fa;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* First row: 3 cards in 3 columns */
.service-card:nth-child(1) {
    grid-column: 1 / 2;
}

.service-card:nth-child(2) {
    grid-column: 2 / 3;
}

.service-card:nth-child(3) {
    grid-column: 3 / 4;
}

/* Second row: 1 card centered */
.service-card:nth-last-child(1) {
    grid-column: 2 / 3;
    justify-self: center;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    display: block;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .services-grid {
        display: flex !important;
        flex-direction: column !important;
        grid-template-columns: none !important;
        grid-template-rows: none !important;
        grid-auto-flow: unset !important;
        gap: 1rem;
        padding: 0 15px;
        max-width: 100%;
    }
    
    .service-card {
        width: 100% !important;
        padding: 1.2rem !important;
        margin-bottom: 0.8rem !important;
        min-height: auto !important;
        grid-column: unset !important;
        justify-self: unset !important;
    }
    
    .service-card:nth-child(1),
    .service-card:nth-child(2),
    .service-card:nth-child(3),
    .service-card:nth-child(4) {
        grid-column: unset !important;
        justify-self: unset !important;
    }
    
    .service-card h3 {
        font-size: 1.1rem;
        margin-bottom: 0.8rem;
    }
    
    .service-card p {
        font-size: 0.85rem;
        line-height: 1.4;
        margin-bottom: 0.5rem;
    }
    
    .service-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 0.8rem;
    }
    
    .service-icon i {
        font-size: 1.2rem;
    }
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: var(--bg-image);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.1;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.service-card:hover::before {
    opacity: 0.2;
}

.service-card > * {
    position: relative;
    z-index: 2;
}

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

.service-icon {
    width: 70px;
    height: 70px;
    background: #000000;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.service-icon i {
    font-size: 2rem;
    color: white;
}

.service-card h3 {
    font-size: 1.4rem;
    font-weight: 400;
    font-family: 'Poppins', sans-serif;
    margin-bottom: 1rem;
    color: #1a1a1a;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.service-card p {
    color: #666;
    line-height: 1.6;
}

/* About Section */
.about {
    padding: 80px 0;
}

.about-content {
    display: block;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.about-text h2 {
    font-size: 2.8rem;
    font-weight: 300;
    font-family: 'Dancing Script', cursive;
    margin-bottom: 2rem;
    color: #1a1a1a;
    letter-spacing: 2px;
}

.about-text p {
    margin-bottom: 0.3rem;
    color: #666;
    line-height: 1.8;
}

.about-text .btn {
    margin-top: 2rem;
}

.about-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Featured Work */
.featured-work {
    padding: 80px 0;
    background: #f8f9fa;
}

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

.work-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.work-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.work-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 2rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

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

.work-overlay h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

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

/* CTA Section */
.cta {
    padding: 80px 0;
    background: #000000;
    color: white;
    text-align: center;
}

.cta h2 {
    font-size: 2.8rem;
    font-weight: 300;
    font-family: 'Dancing Script', cursive;
    margin-bottom: 1.5rem;
    letter-spacing: 2px;
}

.cta p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Footer */
.footer {
    background: #1a1a1a;
    color: white;
    padding: 50px 0 20px;
}

.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: #ffffff;
    font-family: 'Dancing Script', cursive;
    font-weight: 400;
}

.footer-section p {
    margin-bottom: 0.5rem;
    opacity: 0.8;
}

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

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

.footer-section ul li a {
    color: white;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-section ul li a:hover {
    opacity: 1;
    color: #ffffff;
}

/* Footer contact icons */
.footer-section p i {
    color: #d4af37;
    margin-right: 0.5rem;
    flex-shrink: 0;
}

/* Ensure contact info stays on same line as icon - only for paragraphs with icons */
.footer-section p:has(i) {
    display: flex;
    align-items: center;
    white-space: nowrap;
}

/* Location text should wrap normally */
.footer-section .location-text {
    display: block;
    white-space: normal;
    margin-left: 1.5rem;
    margin-top: 0;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: #ffffff;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000000;
    text-decoration: none;
    transition: background 0.3s ease;
}

.social-links a:hover {
    background: #f0f0f0;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #34495e;
    opacity: 0.8;
}

/* 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;
    }

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

    .hero {
        background-attachment: scroll;
        text-align: center;
        padding: 120px 0 50px;
    }

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

    .hero-buttons {
        justify-content: center;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .work-grid {
        grid-template-columns: 1fr;
    }

    .services-grid {
        display: flex !important;
        flex-direction: column !important;
        grid-template-columns: none !important;
        grid-template-rows: none !important;
        grid-auto-flow: unset !important;
        gap: 1rem;
        padding: 0 15px;
        max-width: 100%;
    }
    
    .service-card {
        width: 100% !important;
        padding: 1.2rem !important;
        margin-bottom: 0.8rem !important;
        min-height: auto !important;
        grid-column: unset !important;
        justify-self: unset !important;
    }
    
    .service-card h3 {
        font-size: 1.1rem;
        margin-bottom: 0.8rem;
    }
    
    .service-card p {
        font-size: 0.85rem;
        line-height: 1.4;
        margin-bottom: 0.5rem;
    }
    
    .service-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 0.8rem;
    }
    
    .service-icon i {
        font-size: 1.2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .services-grid {
        gap: 0.8rem;
        padding: 0 10px;
    }
    
    .service-card {
        padding: 1rem;
        margin-bottom: 0.6rem;
    }
    
    .service-card h3 {
        font-size: 1rem;
        margin-bottom: 0.6rem;
    }
    
    .service-card p {
        font-size: 0.8rem;
        line-height: 1.3;
    }
    
    .service-icon {
        width: 45px;
        height: 45px;
        margin-bottom: 0.6rem;
    }
    
    .service-icon i {
        font-size: 1rem;
    }
}
