*,
*::before,
*::after {
    box-sizing: border-box;
}

/* --- Root Variables & Dark Mode --- */
:root {
    --bg-color: #ffffff;
    --text-color: #333333;
    --primary-color: #007bff;
    --card-bg: #f9f9f9;
    --border-color: #eeeeee;
    --nav-bg: rgba(255, 255, 255, 0.7);
}

body.dark-mode {
    --bg-color: #1a1a1a;
    --text-color: #f0f0f0;
    --primary-color: #00aaff;
    --card-bg: #2c2c2c;
    --border-color: #3a3a3a;
    --nav-bg: rgba(26, 26, 26, 0.7);
}

/* --- General Styles --- */
body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    margin: 0;
    padding-top: 70px; /* Space for the fixed navbar */
    transition: background-color 0.3s, color 0.3s;
}

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

.page-title {
    text-align: center;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 20px;
    margin-bottom: 40px;
}

h1, h2, h3 {
    font-weight: 700;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; margin-bottom: 20px;}
p { line-height: 1.6; }
a { color: var(--primary-color); text-decoration: none; }

img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--primary-color);
    color: #fff;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 700;
    transition: transform 0.2s, background-color 0.2s;
}

.btn:hover {
    transform: translateY(-2px);
    background-color: #0056b3;
}
body.dark-mode .btn:hover {
    background-color: #0077cc;
}

.btn.btn-primary {
    background-color: var(--primary-color);
    color: #fff;
}
.btn.btn-primary:hover {
    background-color: #0056b3;
}
body.dark-mode .btn.btn-primary:hover {
    background-color: #0077cc;
}


/* --- Theme Toggle Button --- */
.theme-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1001;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}
.theme-toggle:hover {
    transform: scale(1.1);
}

/* --- Navigation --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 80px 0 40px;
    height: 70px;
    background-color: var(--nav-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: background-color 0.3s, border-color 0.3s;
}


.nav-logo img {
    height: 60px; /* Adjust this value to fit your navbar */
    width: auto;
    display: block; /* Removes any extra space below the image */
}



.nav-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-color);
    letter-spacing: 1px;
    
    /* Add this line to vertically center the logo */
    display: flex; 
    align-items: center;
}


.nav-menu {
    list-style: none;
    display: flex;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.nav-menu a {
    color: var(--text-color);
    font-weight: 700;
    padding: 5px 0;
    border-bottom: 2px solid transparent;
    transition: border-color 0.3s;
}

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

/* --- Home: Hero Video --- */
.hero {
    height: calc(100vh - 70px); /* Full height minus navbar */
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -2;
    object-fit: cover;
}
/* Dark overlay */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: -1;
}

.hero-content {
    color: #fff;
    padding: 20px;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 10px;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 30px;
}

.hero-buttons .btn {
    margin: 0 10px;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid #fff;
    color: #fff;
}
.hero-buttons .btn.btn-primary {
    background: var(--primary-color);
    border-color: var(--primary-color);
}
.hero-buttons .btn:hover {
    background: #fff;
    color: #000;
}

/* --- Home: Testimonials & About --- */
.testimonials {
    text-align: center;
}
blockquote {
    font-size: 1.2rem;
    font-style: italic;
    margin: 40px auto;
    padding: 20px;
    border-left: 5px solid var(--primary-color);
    background: var(--card-bg);
    border-radius: 0 8px 8px 0;
    max-width: 700px;
}
blockquote footer {
    font-style: normal;
    margin-top: 10px;
    font-weight: 700;
}

.about-section {
    display: flex;
    align-items: center;
    gap: 40px;
    margin: 80px 0;
}
.about-image {
    flex-basis: 300px;
    flex-shrink: 0;
}
.about-text {
    flex-grow: 1;
}

/* --- Photography: Swiper --- */
.swiper-container {
    width: 100%;
    padding: 20px 0 60px 0; /* Space for pagination */
}
.swiper {
    width: 90%;
    max-width: 1200px;
    height: 60vh; /* Adjust height as needed */
    margin: 0 auto;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #000;
    display: flex;
    justify-content: center;
    align-items: center;
}
.swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain; /* 'contain' shows full image, 'cover' fills slide */
}
/* Style Swiper Arrows and Dots */
:root {
    --swiper-theme-color: var(--primary-color);
}
.swiper-button-prev, .swiper-button-next {
    color: #fff;
    background: rgba(0,0,0,0.3);
    border-radius: 50%;
    width: 50px;
    height: 50px;
}
.swiper-button-prev:after, .swiper-button-next:after {
    font-size: 1.5rem !important;
    font-weight: 900;
}

/* --- Client Work: Grid --- */
.client-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
.client-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    color: var(--text-color);
}
.client-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}
.client-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px 8px 0 0;
}
.client-card-content {
    padding: 20px;
}
.client-card-content h3 {
    margin-top: 0;
}
.client-card-content p {
    color: var(--primary-color);
    font-weight: 700;
}

/* --- Updates: Blog List --- */
.update-list {
    max-width: 800px;
}
.update-post {
    padding: 30px 0;
    border-bottom: 2px solid var(--border-color);
}
.update-post:last-child {
    border-bottom: none;
}
.update-date {
    font-size: 0.9rem;
    color: var(--text-color);
    opacity: 0.7;
    margin-bottom: 5px;
}
.update-post h2 {
    margin-top: 0;
}

/* --- Footer --- */
.footer {
    text-align: center;
    padding: 40px;
    margin-top: 60px;
    border-top: 1px solid var(--border-color);
}

/* --- AOS Fix (prevents flash) --- */
[data-aos] {
    opacity: 0;
    transition-property: transform, opacity;
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .nav-menu {
        /* Basic mobile menu - can be improved with JS */
        display: none; 
    }
    .hero-content h1 {
        font-size: 2.5rem;
    }
    .about-section {
        flex-direction: column;
    }
    .client-grid {
        grid-template-columns: 1fr;
    }
}

.full-text {
    max-height: 0; /* Hides the content by default */
    overflow: hidden;
    transition: max-height 0.5s ease-out; /* The smooth animation! */
}

.full-text.expanded {
    /* A large value to ensure all content fits */
    max-height: 1000px; 
    transition: max-height 0.7s ease-in;
}

/* Style the new button to look like the old link */
.update-post .btn {
    cursor: pointer;
    font-family: 'Inter', sans-serif; /* Ensures font matches */
    font-size: 1rem; /* Ensures font size matches */
    border: none; /* Removes default button border */
}