/* ============================================
   2-ROW PORTFOLIO GALLERY
   ============================================ */
.two-row-gallery {
    padding: 5rem 0;
}
.two-row-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.two-row-large .portfolio-image {
    aspect-ratio: 16 / 7;
    border-radius: 20px;
    overflow: hidden;
}
.video-container {
    position: relative;
    aspect-ratio: 16 / 9;
    border-radius: 20px;
    overflow: hidden;
    background: #000;
    cursor: pointer;
}
.video-container .video-poster {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    transition: opacity 0.4s;
}
.video-container.playing .video-poster {
    opacity: 0;
    pointer-events: none;
}
.video-container .video-iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}
.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--accent-color);
    color: var(--white);
    border: none;
    font-size: 2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}
.video-play-btn:hover {
    transform: translate(-50%, -50%) scale(1.1);
    background: var(--white);
    color: var(--accent-color);
}
.video-container.playing .video-play-btn {
    opacity: 0;
    pointer-events: none;
}
.video-info {
    position: absolute;
    bottom: 1.5rem;
    left: 1.5rem;
    z-index: 3;
    color: #fff;
}
.video-info .portfolio-label {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.3rem;
    display: inline-block;
}
.video-info h3 {
    font-size: 1.2rem;
    font-weight: 500;
    margin: 0.2rem 0;
}
.video-info p {
    font-size: 0.9rem;
    opacity: 0.85;
    margin: 0;
}
.video-container .highlight-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    margin: 0;
    z-index: 10;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.video-container:hover .highlight-badge {
    opacity: 1;
}
.video-container.playing .video-info {
    opacity: 0;
    pointer-events: none;
}
.two-row-small-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}
.two-row-small .portfolio-image {
    aspect-ratio: 16 / 9;
    border-radius: 16px;
    overflow: hidden;
}
.two-row-small {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 16px;
}
.two-row-small:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 12px 32px rgba(0,0,0,0.18);
}
.two-row-small .portfolio-image img {
    transition: transform 0.4s ease;
}
.two-row-small:hover .portfolio-image img {
    transform: scale(1.08);
}
.two-row-small .portfolio-overlay {
    transition: opacity 0.3s ease;
}
.two-row-small:hover .portfolio-overlay,
.two-row-large:hover .portfolio-overlay {
    opacity: 1;
}
.two-row-large .portfolio-overlay {
    justify-content: center;
    align-items: center;
}
.two-row-large .play-button {
    position: static;
    transform: none;
    width: clamp(44px, 6vw, 80px);
    height: clamp(44px, 6vw, 80px);
    font-size: clamp(1rem, 2.5vw, 2rem);
}
.two-row-large .play-button:hover {
    transform: scale(1.1);
}
@media (max-width: 900px) {
    .two-row-small-row {
        grid-template-columns: repeat(2, 1fr);
    }
    .two-row-large .portfolio-image {
        aspect-ratio: 16 / 9;
        border-radius: 16px;
    }
}
@media (max-width: 480px) {
    .two-row-small-row {
        grid-template-columns: 1fr;
    }
    .two-row-large .portfolio-image {
        aspect-ratio: 16 / 9;
        border-radius: 16px;
    }
}

/* ============================================
   CLASSIC TABBED IMAGE GALLERY (USER STYLE)
   ============================================ */
.classic-tab-gallery-section {
    margin: 4rem 0;
}
.classic-tab-gallery-row {
    width: 100%;
    margin: 0 auto 2rem auto;
}
.classic-tab-gallery-column {
    float: left;
    width: 25%;
    padding: 10px;
}
.classic-tab-gallery-column img {
    opacity: 0.8;
    cursor: pointer;
    border-radius: 12px;
    transition: opacity 0.2s;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}
.classic-tab-gallery-column img:hover {
    opacity: 1;
}
.classic-tab-gallery-row:after {
    content: "";
    display: table;
    clear: both;
}
.classic-tab-gallery-modal {
    position: relative;
    display: none;
    max-width: 700px;
    margin: 0 auto;
    background: #111;
    border-radius: 18px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.18);
    padding: 2rem 1rem 2.5rem 1rem;
    z-index: 1001;
}
.classic-tab-gallery-modal img {
    border-radius: 12px;
    background: #222;
}
.classic-tab-gallery-modal .closebtn {
    position: absolute;
    top: 10px;
    right: 15px;
    color: white;
    font-size: 35px;
    cursor: pointer;
    z-index: 1002;
}
#imgtext {
    position: absolute;
    bottom: 15px;
    left: 15px;
    color: white;
    font-size: 20px;
    z-index: 1002;
}
@media (max-width: 900px) {
    .classic-tab-gallery-column {
        width: 50%;
    }
}
@media (max-width: 600px) {
    .classic-tab-gallery-column {
        width: 100%;
        padding: 6px;
    }
    .classic-tab-gallery-modal {
        max-width: 98vw;
        padding: 1rem 0.5rem 2rem 0.5rem;
    }
    #imgtext {
        font-size: 1rem;
        left: 10px;
        bottom: 10px;
    }
}
/* ============================================
   TAB GALLERY WITH EXPANDING IMAGE
   ============================================ */
.tab-gallery-section {
    margin: 4rem 0;
}
.tab-gallery-tabs {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
}
.tab-gallery-tab {
    background: none;
    border: 2px solid var(--accent-color);
    color: var(--accent-color);
    padding: 0.7rem 2.2rem;
    border-radius: 2rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    outline: none;
}
.tab-gallery-tab.active,
.tab-gallery-tab:hover {
    background: var(--accent-color);
    color: var(--white);
}
.tab-gallery-content {
    display: none;
}
.tab-gallery-content.active {
    display: block;
    animation: fadeIn 0.5s;
}
.tab-gallery-row {
    display: flex;
    gap: 2rem;
    justify-content: center;
}
.tab-gallery-column {
    flex: 1 1 0;
    max-width: 300px;
    display: flex;
    justify-content: center;
}
.tab-gallery-column img.expandable-img {
    width: 100%;
    max-width: 260px;
    border-radius: 16px;
    cursor: pointer;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    transition: transform 0.2s;
}
.tab-gallery-column img.expandable-img:hover {
    transform: scale(1.04);
}
.expanding-img-container {
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.85);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}
.expanding-img-container img {
    max-width: 90vw;
    max-height: 70vh;
    border-radius: 18px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.25);
}
.expanding-img-container .closebtn {
    position: absolute;
    top: 2rem;
    right: 2rem;
    color: #fff;
    font-size: 2.5rem;
    font-weight: bold;
    cursor: pointer;
    z-index: 2100;
    background: none;
    border: none;
}
#imgtext {
    color: #fff;
    margin-top: 1.5rem;
    font-size: 1.2rem;
    text-align: center;
}
@media (max-width: 600px) {
    .tab-gallery-row {
        flex-direction: column;
        gap: 1.2rem;
    }
    .tab-gallery-column {
        max-width: 100%;
    }
    .expanding-img-container img {
        max-width: 98vw;
        max-height: 60vh;
    }
}
/* ============================================
   TABBED PORTFOLIO GALLERY
   ============================================ */
.tabbed-portfolio {
    margin-top: 4rem;
    margin-bottom: 4rem;
}
.portfolio-tabs {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2.5rem;
}
.portfolio-tab {
    background: none;
    border: 2px solid var(--accent-color);
    color: var(--accent-color);
    padding: 0.7rem 2.2rem;
    border-radius: 2rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    outline: none;
}
.portfolio-tab.active,
.portfolio-tab:hover {
    background: var(--accent-color);
    color: var(--white);
}
.portfolio-tab-content {
    display: none;
}
.portfolio-tab-content.active {
    display: block;
    animation: fadeIn 0.5s;
}
/* ============================================
   CUSTOM 2-ROW PORTFOLIO GALLERY
   ============================================ */

/* Improved grid for alignment */
.custom-portfolio-grid {
    display: grid;
    grid-template-rows: 1fr 1fr;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.portfolio-item-large {
    grid-column: 1 / 5;
    grid-row: 1 / 2;
    aspect-ratio: 16 / 7;
    width: 100%;
}

.portfolio-item-small {
    aspect-ratio: 1 / 1;
}

.portfolio-item-small:nth-child(2) {
    grid-column: 1;
    grid-row: 2;
}
.portfolio-item-small:nth-child(3) {
    grid-column: 2;
    grid-row: 2;
}
.portfolio-item-small:nth-child(4) {
    grid-column: 3;
    grid-row: 2;
}
.portfolio-item-small:nth-child(5) {
    grid-column: 4;
    grid-row: 2;
}

@media (max-width: 900px) {
    .custom-portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .portfolio-item-large {
        grid-column: 1 / 3;
    }
    .portfolio-item-small:nth-child(2) {
        grid-column: 1;
    }
    .portfolio-item-small:nth-child(3) {
        grid-column: 2;
    }
    .portfolio-item-small:nth-child(4) {
        grid-column: 1;
    }
    .portfolio-item-small:nth-child(5) {
        grid-column: 2;
    }
}

@media (max-width: 600px) {
    .custom-portfolio-grid {
        grid-template-columns: 1fr;
    }
    .portfolio-item-large {
        grid-column: 1;
        aspect-ratio: 3 / 4;
    }
    .portfolio-item-small {
        grid-column: 1;
    }
}
.about {
    background: var(--secondary-color);
}
/* ============================================
   ABOUT SECTION (TWO COLUMN)
   ============================================ */

.about-two-col {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: center;
}

.about-image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 180px;
}

@media (max-width: 900px) {
    .about-two-col {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .about-image-placeholder {
        margin-bottom: 1.5rem;
    }
}
/* ============================================
   ABOUT SECTION (TWO COLUMN)
   ============================================ */

.about-img-bw {
    filter: grayscale(100%);
    transition: filter 0.4s ease;
}

.about-img-bw:hover {
    filter: grayscale(0%);
}

.about-two-col {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: center;
}

.about-image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 180px;
}

@media (max-width: 900px) {
    .about-two-col {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .about-image-placeholder {
        margin-bottom: 1.5rem;
    }
}
.services-title-left {
    text-align: left !important;
    margin-bottom: 2.5rem;
    margin-left: 2px;
    font-size: 2.2rem;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--accent-color);
}
/* ============================================
   SIMPLE SERVICES SECTION (4-COLUMN GRID)
   ============================================ */

.services.services-simple {
    padding: 4rem 0 4rem 0;
    background: var(--secondary-color);
}

.services-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
}

.services-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--accent-color);
}

.service-value {
    padding: 0.5rem 0.5rem 0.5rem;
    text-align: center;
}

.service-value-icon {
    display: block;
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.service-value-icon svg {
    width: 28px;
    height: 28px;
    color: var(--accent-color);
    display: inline-block;
}

.service-value h3 {
    color: var(--accent-color);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.6rem;
}

.service-value p {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .services-grid-3 {
        grid-template-columns: 1fr;
    }
}

.service-square {
    background: var(--primary-color);
    border: 1px solid var(--border-color);
    border-radius: 18px;
    padding: 2.5rem 1.5rem 2rem 1.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 260px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    transition: var(--transition);
}

.service-square h3 {
    color: var(--accent-color);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1.2rem;
    letter-spacing: 1px;
}

.service-square p {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.7;
}

.service-square:hover {
    border-color: var(--accent-color);
    box-shadow: 0 6px 24px rgba(212,175,55,0.08);
    transform: translateY(-4px) scale(1.03);
}

@media (max-width: 1024px) {
    .services-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .services-grid-4 {
        grid-template-columns: 1fr;
    }
    .service-square {
        padding: 1.5rem 1rem;
        min-height: 180px;
    }
    .service-square h3 {
        font-size: 1.1rem;
    }
    .service-square p {
        font-size: 0.95rem;
    }
}
/* ============================================
   VARIABLES & RESET
   ============================================ */

:root {
    --primary-color: ##ffffff;
    --secondary-color: #f9f7f2;
    --accent-color: #c5a059;
    --text-color: #1a1a1a;
    --text-light: #4b5563;
    --white: #ffffff;
    --border-color: #f3f4f6;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", ui-sans-serif, system-ui, sans-serif;
    background-color: var(--primary-color);
    color: var(--text-color);
    line-height: 1.6;
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

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

.section-title {
    font-size: 2.5rem;
    font-weight: 300;
    text-align: center;
    margin-bottom: 3rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-family: "Cormorant Garamond", ui-serif, Georgia, serif;
;
}

/* ============================================
   NAVIGATION
   ============================================ */

.navbar {
    position: sticky;
    top: 0;
    background-color: #ffffff;
    border-bottom: 1px solid #f3f4f6;
    z-index: 100;
}

.navbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo h1 {
    font-size: 1.5rem;
    font-weight: 300;
    letter-spacing: 3px;
    color: var(--accent-color);
    display: flex;
    flex-direction: column;
    line-height: 1.2;
    font-family: "Cormorant Garamond", ui-serif, Georgia, serif;
}

.brand-sub {
    font-size: 0.6rem;
    font-weight: 400;
    letter-spacing: 2px;
    color: var(--text-light);
    text-transform: uppercase;
    font-family: "Inter", ui-sans-serif, system-ui, sans-serif;
}

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

.nav-menu a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
}

.nav-menu a:hover {
    color: var(--accent-color);
}

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

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    margin: 5px 0;
    transition: var(--transition);
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    z-index: -1;
}

.hero-content {
    text-align: center;
    z-index: 1;
    animation: fadeInUp 1s ease;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 300;
    margin-bottom: 1.5rem;
    letter-spacing: 2px;
    line-height: 1.2;
    font-family: "Cormorant Garamond", ui-serif, Georgia, serif;
    font-style: italic;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    font-weight: 300;
}

/* ============================================
   BUTTONS & CTAs
   ============================================ */

.cta-button {
    padding: 1rem 2.5rem;
    background-color: transparent;
    color: var(--accent-color);
    border: 2px solid var(--accent-color);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    border-radius: .5rem;
}

.cta-button:hover {
      background-color: var(--accent-color);
    color: var(--secondary-color);

}

/* ============================================
   PORTFOLIO SECTION
   ============================================ */

.portfolio {
    padding: 5rem 0;
    background-color: var(--primary-color);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: auto;
    grid-auto-flow: row;
    gap: 2rem;
}

.portfolio-item {
    cursor: pointer;
    animation: fadeInUp 0.6s ease;
}

.portfolio-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3 / 4;
    background-color: var(--secondary-color);
    border-radius: 20px;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(212, 175, 55, 0.15);
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    opacity: 0;
    transition: var(--transition);
    padding: 1.5rem;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

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

.play-button {
    width: 60px;
    height: 60px;
    background-color: var(--accent-color);
    color: var(--primary-color);
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.play-button:hover {
    transform: scale(1.1);
    background-color: var(--white);
}

/* Compact portfolio items (2nd & 5th) */
.play-button-sm {
    width: 36px;
    height: 36px;
    font-size: 0.9rem;
}
.compact-label {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    z-index: 3;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.compact-item:hover .compact-label {
    opacity: 1;
}
.compact-info {
    align-items: flex-end !important;
    text-align: right !important;
    margin-left: auto;
}
.compact-item .portfolio-overlay {
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-end;
}
.compact-item .play-button-sm {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.compact-item:hover .play-button-sm {
    transform: translate(-50%, -50%) scale(1.1);
}
.portfolio-date {
    font-size: 0.8rem;
    opacity: 0.85;
    margin: 0.15rem 0 0;
    color: #fff;
}
.compact-bottom-info {
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    padding: 2rem 0.75rem 0.75rem;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    text-align: right;
    z-index: 2;
    pointer-events: none;
}
.compact-bottom-info .portfolio-title {
    font-size: 0.8rem;
    font-weight: 600;
    color: #fff;
    margin: 0;
}
.two-row-large .compact-bottom-info .portfolio-title {
    font-size: clamp(0.8rem, 2vw, 1.3rem);
}
.two-row-large .compact-bottom-info .portfolio-date {
    font-size: clamp(0.65rem, 1.4vw, 0.9rem);
}
.compact-bottom-info .portfolio-date {
    font-size: 0.65rem;
    opacity: 0.8;
    margin: 0.1rem 0 0;
    color: #fff;
}

.portfolio-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    text-align: left;
    opacity: 0;
    transition: var(--transition);
}

.portfolio-item:hover .portfolio-info {
    opacity: 1;
}

.portfolio-label {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0;
    transition: var(--transition);
}

.portfolio-item:hover .portfolio-label {
    opacity: 1;
}

.portfolio-title {
    font-size: 1.1rem;
    font-weight: 400;
    margin-bottom: 0.3rem;
}

.portfolio-date {
    color: var(--text-light);
    font-size: 0.85rem;
}

.portfolio-item.hidden {
    display: none;
}

.see-more-wrapper {
    text-align: center;
    padding: 2rem 0;
}

.see-more-button {
    padding: 1rem 2.5rem;
    background-color: transparent;
    color: var(--accent-color);
    border: 2px solid var(--accent-color);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition);
    border-radius: .8rem;
}

.see-more-button:hover {
    background-color: var(--accent-color);
    color: var(--border-color);
}

/* ============================================
   ABOUT SECTION
   ============================================ */

.about {
    padding: 5rem 0;
    background-color: var(--secondary-color);
}

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

.about-text p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.stat {
    text-align: center;
    padding: 1.5rem;
    background-color: var(--primary-color);
    border: 1px solid var(--border-color);
}

.stat h3 {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}




/* ============================================
   CONTACT SECTION
   ============================================ */

.contact {
    padding: 5rem 0;
    background-color: var(--secondary-color);
}

.contact-form {
    max-width: 600px;
    margin: 0 auto 3rem;
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
     .portfolio-item {
          margin-bottom: 1rem; /* Add margin for spacing */
          aspect-ratio: 1 / 1; /* Ensure square aspect ratio for smaller screens */
     }
    background-color: var(--primary-color);
    border: 1px solid var(--border-color);
    color: var(--text-color);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.2);
}

.form-group textarea {
    resize: vertical;
}

.contact-form button {
    width: 100%;
}

.contact-info {
    text-align: center;
    color: var(--text-light);
}

.contact-info p {
    margin: 0.5rem 0;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    padding: 3rem 0 1rem;
    background-color: var(--primary-color);
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.footer-brand h3 {
    color: var(--accent-color);
    font-size: 1.3rem;
    font-weight: 300;
    margin-bottom: 0.4rem;
    display: flex;
    flex-direction: column;
    line-height: 1.2;
    font-family: "Cormorant Garamond", ui-serif, Georgia, serif;
}

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

.footer-content .footer-links {
    display: flex;
    flex-direction: row;
    gap: 2rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section h3 {
    color: var(--accent-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.footer-section h4 {
    color: var(--text-color);
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.footer-section p {
    color: var(--text-light);
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.footer-links {
    list-style: none;
    padding: 0;
}

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

.footer-links a {
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.footer-bottom p {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* ============================================
   MODAL
   ============================================ */

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    animation: fadeIn 0.3s ease;
}

.modal-content {
    position: relative;
    margin: 5% auto;
    padding: 0;
    width: 90%;
    max-width: 900px;
    max-height: 80vh;
}

.close-modal {
    position: absolute;
    top: 10px;
    right: 15px;
    color: #fff;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    z-index: 1001;
    transition: var(--transition);
    opacity: 0.7;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-modal:hover {
    opacity: 1;
    background: rgba(0, 0, 0, 0.8);
    color: var(--accent-color);
}

.modal-video-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    background-color: #000;
    border-radius: 8px;
    overflow: hidden;
}

.modal-video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 8px;
}

/* ============================================
   ANIMATIONS
   ============================================ */

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

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

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

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

    .nav-menu li {
        padding: 1rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

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

    .nav-menu a {
        color: #fff;
    }

    .hamburger {
        display: flex;
    }

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

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

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

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

    .hero-subtitle {
        font-size: 1.1rem;
    }

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

    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .about-stats {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .video-info h3 {
        font-size: 0.9rem;
    }

    .video-info p {
        font-size: 0.7rem;
    }

    .video-info .portfolio-label {
        font-size: 0.7rem;
    }
}

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

    .hero-subtitle {
        font-size: 1rem;
    }

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

    .cta-button {
        padding: 0.7rem 2rem;
        font-size: 0.8rem;
    }

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

    .about-stats {
        grid-template-columns: 1fr;
    }

    .stat {
        padding: 1rem;
    }

    .stat h3 {
        font-size: 1.5rem;
    }

    .portfolio-title {
        font-size: 1rem;
    }

    .video-info h3 {
        font-size: 0.8rem;
    }

    .video-info p {
        font-size: 0.65rem;
    }

    .video-info .portfolio-label {
        font-size: 0.6rem;
    }

    .video-info {
        bottom: 1rem;
        left: 1rem;
    }

    .compact-bottom-info {
        text-align: left;
    }
}
