@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&display=swap');

@font-face {
    font-family: 'Transforma Sans Medium';
    src: url('../Assets/Images/transforma-sans-medium.ttf') format('truetype'),
         url('Assets/Images/transforma-sans-medium.ttf') format('truetype'),
         url('./Assets/Images/transforma-sans-medium.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

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

body {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    background: linear-gradient(180deg, #ece5cd 0%, #6b3a3a 100%);
    min-height: 100vh;
    padding: 40px 20px;
}

/* Prevent body scroll when mobile menu is open */
body.menu-open {
    overflow: hidden;
}

h1, h2, h3 {
    font-family: 'Transforma Sans Medium', sans-serif;
    font-weight: normal;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    background: #F5EFE7;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

/* Header Section */
.header {
    background: linear-gradient(135deg, #602523 0%, #6b3a3a 100%);
    padding: 20px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo-link {
    text-decoration: none;
    display: block;
}

.logo-circle {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: white;
    border: 4px solid #6b3a3a;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.logo-circle:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.logo-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

.nav a {
    color: white;
    text-decoration: none;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: opacity 0.3s;
}

.nav a:hover {
    opacity: 0.8;
}

.cta-btn {
    background: #9b6e6e;
    color: white;
    padding: 10px 24px;
    border-radius: 25px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s;
    backdrop-filter: blur(10px);
}

.cta-btn:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

/* Hamburger Menu Button */
.hamburger {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

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

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

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

/* Mobile Menu Dropdown */
.mobile-menu {
    display: none;
    background: #6b3a3a;
    flex-direction: column;
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.3s ease;
}

.mobile-menu.active {
    max-height: 500px;
}

.mobile-menu-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px 50px;
    color: white;
    text-decoration: none;
    font-size: 15px;
    text-transform: capitalize;
    transition: background 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: #8b5a5a;
}

.mobile-menu-item:hover {
    background: #9b6a6a;
}

.mobile-menu-item.active {
    background: #7a4a4a;
    font-weight: 600;
}

.menu-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.menu-icon svg {
    stroke: white;
}

/* Hero image wrapper */
.hero-image-section {
    width: 100%;
    aspect-ratio: 16 / 9;
    position: relative;
    overflow: hidden;
    background: #daca9a;
}

.hero-image-section img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: rgba(96, 37, 35, 0.4);
    z-index: 2;
}

.portfolio-hero-title {
    font-size: 72px;
    color: white;
    margin-bottom: 16px;
    font-family: 'Transforma Sans Medium', sans-serif;
    text-shadow: 2px 4px 8px rgba(0, 0, 0, 0.3);
}

.portfolio-hero-subtitle {
    font-size: 18px;
    color: #daca9a;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 600;
    text-shadow: 1px 2px 4px rgba(0, 0, 0, 0.5);
}

/* Info Banner */
.info-banner {
    background: #784e2f;
    padding: 20px;
    color: white;
    font-size: 13px;
    letter-spacing: 1px;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
}

.info-banner::before,
.info-banner::after {
    content: "PASSIONATE ABOUT CREATING BEAUTIFUL & FUNCTIONAL DIGITAL EXPERIENCES                    ";
    display: inline-block;
    animation: scroll-left 30s linear infinite;
    padding-right: 150px;
}

@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

/* Portfolio Section */
.portfolio-section {
    background: #F5EFE7;
    padding: 60px 50px;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    grid-auto-rows: 350px;
}

/* Portfolio Items - All Same Size */
.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;;
    transition: transform 0.3s ease;
}

.portfolio-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.portfolio-link {
    display: block;
    text-decoration: none;
    color: inherit;
    width: 100%;
    height: 100%;
}

/* Portfolio Stickers */
.portfolio-sticker {
    position: absolute;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #6b3a3a;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 
        0 2px 4px rgba(0, 0, 0, 0.1),
        0 4px 8px rgba(0, 0, 0, 0.15),
        0 8px 16px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    pointer-events: none;
    font-family: 'Montserrat', sans-serif;
}

/* Sticker 1 - Circle shape */
.portfolio-sticker.sticker-1 {
    top: 15px;
    right: 15px;
    width: 85px;
    height: 85px;
    background: #daca9a;
    border: 3px solid #7f8a63;
    border-radius: 50%;
    transform: rotate(15deg);
}

/* Sticker 2 - Rounded square/badge shape */
.portfolio-sticker.sticker-2 {
    top: 15px;
    left: 15px;
    padding: 12px 18px;
    background: #9b5354;
    color: white;
    border: 3px solid #602523;
    border-radius: 8px;
    transform: rotate(-8deg);
    min-width: 85px;
    text-align: center;
}

/* Sticker 3 - Rounded square shape */
.portfolio-sticker.sticker-3 {
    bottom: 15px;
    right: 15px;
    width: 85px;
    height: 85px;
    background: #bd8c68;
    border: 3px solid #784e2f;
    border-radius: 15px;
    transform: rotate(18deg);
    color: white;
}

/* Add subtle texture to stickers */
.portfolio-sticker::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.1) 0%,
        rgba(255, 255, 255, 0) 50%,
        rgba(0, 0, 0, 0.05) 100%
    );
    pointer-events: none;
}

/* Animate stickers slightly on portfolio item hover */
.portfolio-item:hover .portfolio-sticker {
    animation: sticker-wiggle 0.5s ease;
    box-shadow: 
        0 4px 8px rgba(0, 0, 0, 0.15),
        0 8px 16px rgba(0, 0, 0, 0.2),
        0 16px 32px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

@keyframes sticker-wiggle {
    0%, 100% { transform: rotate(var(--rotation)); }
    25% { transform: rotate(calc(var(--rotation) + 3deg)) scale(1.05); }
    75% { transform: rotate(calc(var(--rotation) - 3deg)) scale(1.05); }
}

.portfolio-sticker.sticker-1 {
    --rotation: 15deg;
}

.portfolio-sticker.sticker-2 {
    --rotation: -8deg;
}

.portfolio-sticker.sticker-3 {
    --rotation: 18deg;
}

.portfolio-image {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    background: #daca9a;
}

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

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

.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(96, 37, 35, 0.95), rgba(96, 37, 35, 0.7), transparent);
    padding: 30px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

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

.portfolio-item-title {
    font-size: 24px;
    color: white;
    margin-bottom: 8px;
    font-family: 'Transforma Sans Medium', sans-serif;
    font-weight: normal;
}

.portfolio-item-category {
    font-size: 14px;
    color: #daca9a;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

/* CTA Section */
.portfolio-cta {
    background: linear-gradient(135deg, #bd8c68 0%, #9b5354 100%);
    padding: 80px 50px;
    text-align: center;
}

.portfolio-cta-title {
    font-size: 48px;
    color: white;
    margin-bottom: 20px;
    font-family: 'Transforma Sans Medium', sans-serif;
    font-weight: normal;
}

.portfolio-cta-text {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.portfolio-cta-btn {
    background: white;
    border: 4px solid #44515c;
    color: #44515c;
    padding: 16px 40px;
    border-radius: 30px;
    text-decoration: none;
    display: inline-block;
    font-weight: bold;
    font-size: 16px;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.portfolio-cta-btn:hover {
    background: #44515c;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #44515c 0%, #333f49 100%);
    color: white;
    padding: 60px 50px 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand {
    text-align: left;
}

.footer-title {
    font-family: 'Transforma Sans Medium', sans-serif;
    font-size: 28px;
    margin-bottom: 8px;
    color: white;
}

.footer-tagline {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    font-family: 'Montserrat', sans-serif;
}

.footer-cta {
    display: flex;
    justify-content: center;
}

.footer-btn {
    background: white;
    border: 4px solid #44515c;
    color: #44515c;
    padding: 14px 32px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    transition: all 0.3s;
    display: inline-block;
}

.footer-btn:hover {
    background: #44515c;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(68, 81, 92, 0.3);
}

.footer-social {
    display: flex;
    gap: 20px;
    justify-content: flex-end;
}

.social-icon {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s;
    text-decoration: none;
}

.social-icon:hover {
    background: white;
    color: #6b3a3a;
    transform: translateY(-3px);
}

.social-icon svg {
    width: 20px;
    height: 20px;
}

.footer-links {
    text-align: center;
    margin-bottom: 20px;
    font-size: 14px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: white;
}

.footer-separator {
    margin: 0 12px;
    color: rgba(255, 255, 255, 0.4);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 30px;
    text-align: center;
}

.footer-bottom p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    font-family: 'Montserrat', sans-serif;
}

/* ========================================
   RESPONSIVE DESIGN - MOBILE OPTIMIZATIONS
   ======================================== */

/* Tablet/Large Mobile Breakpoint */
@media (max-width: 968px) {
    /* Show hamburger menu on tablet and mobile */
    .hamburger {
        display: flex;
    }

    /* Hide desktop navigation */
    .nav.desktop-nav {
        display: none !important;
    }

    /* Show mobile menu */
    .mobile-menu {
        display: flex;
    }

    /* Portfolio Grid - 2 columns on tablet */
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
        grid-auto-rows: 320px;
    }

    /* Portfolio Section */
    .portfolio-section {
        padding: 50px 30px;
    }

    /* Slightly smaller stickers on tablet */
    .portfolio-sticker.sticker-1,
    .portfolio-sticker.sticker-3 {
        width: 75px;
        height: 75px;
        font-size: 10px;
    }

    .portfolio-sticker.sticker-2 {
        min-width: 75px;
        padding: 10px 15px;
        font-size: 10px;
    }

    /* Hero Section */
    .hero-image-section {
        aspect-ratio: 16 / 10;
    }

    .portfolio-hero-title {
        font-size: 56px;
    }

    .portfolio-hero-subtitle {
        font-size: 16px;
        letter-spacing: 2px;
    }

    /* CTA Section */
    .portfolio-cta {
        padding: 60px 30px;
    }

    .portfolio-cta-title {
        font-size: 38px;
    }

    .portfolio-cta-text {
        font-size: 16px;
    }

    /* Footer */
    .footer {
        padding: 40px 30px 20px;
    }

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

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

    .footer-social {
        justify-content: center;
    }

    .footer-title {
        font-size: 24px;
    }
}

/* Mobile Breakpoint - 768px */
@media (max-width: 768px) {
    body {
        background: #F5EFE7;
        padding: 0;
        min-height: 100vh;
    }

    .container {
        border-radius: 0;
        box-shadow: none;
    }

    /* Header */
    .header {
        border-radius: 0;
        padding: 15px 20px;
    }

    .logo-circle {
        width: 60px;
        height: 60px;
        border-width: 3px;
    }

    .mobile-menu-item {
        padding: 18px 20px;
    }

    /* Hero Section */
    .hero-image-section {
        aspect-ratio: 4 / 3;
        min-height: 300px;
    }

    .portfolio-hero-title {
        font-size: 42px;
        margin-bottom: 12px;
    }

    .portfolio-hero-subtitle {
        font-size: 14px;
        letter-spacing: 2px;
    }

    /* Info Banner */
    .info-banner {
        font-size: 12px;
        padding: 15px 10px;
    }

    /* Portfolio Grid - Single column on mobile */
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        grid-auto-rows: 320px;
    }

    .portfolio-section {
        padding: 40px 20px;
    }

    /* Portfolio Items */
    .portfolio-item {
        border-radius: 12px;
    }

    /* Stickers - Slightly smaller */
    .portfolio-sticker.sticker-1,
    .portfolio-sticker.sticker-3 {
        width: 70px;
        height: 70px;
        font-size: 9px;
    }

    .portfolio-sticker.sticker-1 {
        top: 12px;
        right: 12px;
    }

    .portfolio-sticker.sticker-2 {
        top: 12px;
        left: 12px;
        min-width: 70px;
        padding: 10px 14px;
        font-size: 9px;
    }

    .portfolio-sticker.sticker-3 {
        bottom: 12px;
        right: 12px;
    }

    /* Portfolio Overlay */
    .portfolio-overlay {
        padding: 25px 20px;
    }

    .portfolio-item-title {
        font-size: 20px;
        margin-bottom: 6px;
    }

    .portfolio-item-category {
        font-size: 12px;
    }

    /* CTA Section */
    .portfolio-cta {
        padding: 50px 20px;
    }

    .portfolio-cta-title {
        font-size: 32px;
        margin-bottom: 18px;
    }

    .portfolio-cta-text {
        font-size: 15px;
        margin-bottom: 30px;
        line-height: 1.5;
    }

    .portfolio-cta-btn {
        padding: 14px 32px;
        font-size: 14px;
        border-width: 3px;
    }

    /* Footer */
    .footer {
        padding: 40px 20px 20px;
        border-radius: 0;
    }

    .footer-title {
        font-size: 22px;
    }

    .footer-tagline {
        font-size: 13px;
    }

    .footer-btn {
        padding: 12px 28px;
        font-size: 14px;
        border-width: 3px;
    }

    .footer-links {
        font-size: 13px;
        margin-bottom: 15px;
    }

    .footer-separator {
        margin: 0 8px;
    }

    .social-icon {
        width: 40px;
        height: 40px;
    }

    .social-icon svg {
        width: 18px;
        height: 18px;
    }

    .footer-bottom {
        padding-top: 20px;
    }

    .footer-bottom p {
        font-size: 12px;
    }
}

/* Small Mobile Breakpoint - 480px */
@media (max-width: 480px) {
    /* Header */
    .header {
        padding: 12px 15px;
    }

    .logo-circle {
        width: 55px;
        height: 55px;
        border-width: 2px;
    }

    .mobile-menu-item {
        padding: 16px 15px;
        font-size: 14px;
    }

    /* Hero Section */
    .hero-image-section {
        min-height: 250px;
    }

    .portfolio-hero-title {
        font-size: 32px;
        margin-bottom: 10px;
    }

    .portfolio-hero-subtitle {
        font-size: 12px;
        letter-spacing: 1.5px;
    }

    /* Info Banner */
    .info-banner {
        font-size: 11px;
        padding: 12px 8px;
    }

    /* Portfolio Section */
    .portfolio-section {
        padding: 30px 15px;
    }

    .portfolio-grid {
        gap: 15px;
        grid-auto-rows: 280px;
    }

    .portfolio-item {
        border-radius: 10px;
    }

    /* Smaller stickers for small screens */
    .portfolio-sticker.sticker-1,
    .portfolio-sticker.sticker-3 {
        width: 60px;
        height: 60px;
        font-size: 8px;
        border-width: 2px;
    }

    .portfolio-sticker.sticker-1 {
        top: 10px;
        right: 10px;
    }

    .portfolio-sticker.sticker-2 {
        top: 10px;
        left: 10px;
        min-width: 60px;
        padding: 8px 12px;
        font-size: 8px;
        border-width: 2px;
    }

    .portfolio-sticker.sticker-3 {
        bottom: 10px;
        right: 10px;
    }

    /* Portfolio Overlay */
    .portfolio-overlay {
        padding: 20px 15px;
    }

    .portfolio-item-title {
        font-size: 18px;
        margin-bottom: 5px;
    }

    .portfolio-item-category {
        font-size: 11px;
    }

    /* CTA Section */
    .portfolio-cta {
        padding: 40px 15px;
    }

    .portfolio-cta-title {
        font-size: 26px;
        margin-bottom: 15px;
    }

    .portfolio-cta-text {
        font-size: 14px;
        margin-bottom: 25px;
    }

    .portfolio-cta-btn {
        padding: 12px 28px;
        font-size: 13px;
    }

    /* Footer */
    .footer {
        padding: 30px 15px 15px;
    }

    .footer-content {
        gap: 20px;
        margin-bottom: 25px;
    }

    .footer-title {
        font-size: 20px;
    }

    .footer-tagline {
        font-size: 12px;
    }

    .footer-btn {
        padding: 11px 24px;
        font-size: 13px;
    }

    .footer-social {
        gap: 15px;
    }

    .social-icon {
        width: 38px;
        height: 38px;
    }

    .social-icon svg {
        width: 16px;
        height: 16px;
    }

    .footer-links {
        font-size: 12px;
        margin-bottom: 12px;
    }

    .footer-separator {
        margin: 0 6px;
    }

    .footer-bottom {
        padding-top: 15px;
    }

    .footer-bottom p {
        font-size: 11px;
    }
}

/* Extra Small Mobile - 360px and below */
@media (max-width: 360px) {
    .portfolio-hero-title {
        font-size: 28px;
    }

    .portfolio-hero-subtitle {
        font-size: 11px;
    }

    .portfolio-grid {
        grid-auto-rows: 260px;
    }

    .portfolio-cta-title {
        font-size: 24px;
    }

    .portfolio-item-title {
        font-size: 16px;
    }

    /* Extra small stickers */
    .portfolio-sticker.sticker-1,
    .portfolio-sticker.sticker-3 {
        width: 55px;
        height: 55px;
        font-size: 7px;
    }

    .portfolio-sticker.sticker-2 {
        min-width: 55px;
        padding: 7px 10px;
        font-size: 7px;
    }
}