/* ============================================
   DYNAMIC MOMENTS PHOTOGRAPHY
   Custom CSS - Emerald Green & Black Theme
   ============================================ */

/* CSS Variables */
:root {
    --emerald: #50C878;
    --emerald-dark: #3da861;
    --black: #000000;
    --dark-bg: #1a1a1a;
    --darker-bg: #111111;
    --white: #ffffff;
    --gray-light: #f8f9fa;
    --gray-muted: #6c757d;
}

/* ============================================
   BASE STYLES
   ============================================ */
body {
    font-family: 'Poppins', sans-serif;
    color: var(--dark-bg);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.text-emerald {
    color: var(--emerald) !important;
}

.bg-emerald {
    background-color: var(--emerald) !important;
}

.btn-emerald {
    background-color: var(--emerald);
    border-color: var(--emerald);
    color: var(--white);
    font-weight: 500;
    padding: 12px 30px;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-emerald:hover {
    background-color: var(--emerald-dark);
    border-color: var(--emerald-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(80, 200, 120, 0.4);
}

.bg-dark-section {
    background-color: var(--dark-bg);
}

.section-title {
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--emerald);
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
    background-color: rgba(0, 0, 0, 0.9) !important;
    backdrop-filter: blur(10px);
    padding: 15px 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 10px 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.navbar-brand {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white) !important;
}

.navbar-brand:hover {
    color: var(--emerald) !important;
}

.navbar-brand i {
    color: var(--emerald);
}

.nav-link {
    color: var(--white) !important;
    font-weight: 500;
    margin: 0 10px;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: var(--emerald);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

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

.nav-link:hover,
.nav-link.active {
    color: var(--emerald) !important;
}

/* ============================================
   CAROUSEL / HERO SECTION
   ============================================ */
.carousel-item {
    min-height: 100vh;
}

.carousel-caption {
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
}

.carousel-caption h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    animation: fadeInDown 1s ease;
}

.carousel-caption p {
    font-size: 1.5rem;
    margin-bottom: 30px;
    animation: fadeInUp 1s ease 0.3s both;
}

.carousel-caption .btn {
    animation: fadeInUp 1s ease 0.6s both;
}

.carousel-control-prev,
.carousel-control-next {
    width: 5%;
    opacity: 0.8;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 1;
}

.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 5px;
    background-color: rgba(255, 255, 255, 0.5);
}

.carousel-indicators button.active {
    background-color: var(--emerald);
}

/* ============================================
   ABOUT SECTION
   ============================================ */
#about {
    background-color: var(--white);
}

.about-img {
    max-width: 350px;
    border: 5px solid var(--emerald);
    transition: transform 0.3s ease;
}

.about-img:hover {
    transform: scale(1.02);
}

/* ============================================
   SKILLS SECTION
   ============================================ */
.progress {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
}

.progress-bar {
    border-radius: 10px;
    transition: width 1.5s ease;
}

.skill-icon-card {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(80, 200, 120, 0.2);
    transition: all 0.3s ease;
    color: var(--white);
}

.skill-icon-card:hover {
    background-color: rgba(80, 200, 120, 0.1);
    border-color: var(--emerald);
    transform: translateY(-5px);
}

.skill-icon-card h5 {
    color: var(--white);
    margin-bottom: 5px;
}

/* ============================================
   SERVICES SECTION
   ============================================ */
#services {
    background-color: var(--gray-light);
}

.service-card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

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

.service-card .card-img-top {
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-card:hover .card-img-top {
    transform: scale(1.05);
}

.service-card .card-body {
    padding: 25px;
}

/* Accordion Styles */
.accordion-item {
    border: none;
    margin-bottom: 10px;
    border-radius: 10px !important;
    overflow: hidden;
}

.accordion-button {
    background-color: var(--white);
    font-weight: 600;
    color: var(--dark-bg);
    box-shadow: none !important;
}

.accordion-button:not(.collapsed) {
    background-color: var(--emerald);
    color: var(--white);
}

.accordion-button::after {
    filter: brightness(0);
}

.accordion-button:not(.collapsed)::after {
    filter: brightness(0) invert(1);
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact-info-card {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(80, 200, 120, 0.2);
    color: var(--white);
}

.contact-info-card h6 {
    color: var(--white);
}

.contact-info-card a {
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info-card a:hover {
    color: var(--emerald) !important;
}

.contact-form-card {
    background-color: var(--white);
    border-radius: 15px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.2);
}

.form-control,
.form-select {
    padding: 12px 15px;
    border-radius: 10px;
    border: 1px solid #dee2e6;
    transition: all 0.3s ease;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--emerald);
    box-shadow: 0 0 0 0.2rem rgba(80, 200, 120, 0.25);
}

.form-label {
    font-weight: 500;
    color: var(--dark-bg);
}

.form-check-input:checked {
    background-color: var(--emerald);
    border-color: var(--emerald);
}

/* ============================================
   FOOTER
   ============================================ */
footer {
    background-color: var(--darker-bg);
    color: var(--white);
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    margin: 0 10px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-link:hover {
    background-color: var(--emerald);
    color: var(--white);
    transform: translateY(-3px);
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* ============================================
   RESPONSIVE STYLES
   ============================================ */
@media (max-width: 991px) {
    .carousel-caption h1 {
        font-size: 2.5rem;
    }
    
    .carousel-caption p {
        font-size: 1.2rem;
    }
    
    .navbar-collapse {
        background-color: rgba(0, 0, 0, 0.95);
        padding: 20px;
        border-radius: 10px;
        margin-top: 15px;
    }
    
    .nav-link {
        padding: 10px 0;
    }
}

@media (max-width: 767px) {
    .carousel-caption h1 {
        font-size: 2rem;
    }
    
    .carousel-caption p {
        font-size: 1rem;
    }
    
    .display-5 {
        font-size: 1.75rem;
    }
    
    section {
        padding: 50px 0;
    }
}

@media (max-width: 575px) {
    .carousel-caption h1 {
        font-size: 1.5rem;
    }
    
    .carousel-caption p {
        font-size: 0.9rem;
    }
    
    .carousel-caption .btn {
        padding: 8px 20px;
        font-size: 0.9rem;
    }
    
    section {
        padding: 40px 0;
    }
    
    .display-5 {
        font-size: 1.5rem;
    }
    
    .navbar-brand span {
        font-size: 1rem;
    }
    
    .form-check-inline {
        display: block;
        margin-bottom: 10px;
    }
    
    .about-img {
        max-width: 250px;
    }
}

/* ============================================
   PRINT STYLES
   ============================================ */
@media print {
    .navbar,
    .carousel-control-prev,
    .carousel-control-next,
    .carousel-indicators {
        display: none !important;
    }
    
    body {
        background: white;
    }
}
