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

:root {
    --accent: #2563eb;
    --accent-hover: #1d4ed8;
    --text-primary: #333333;
    --text-secondary: #6B6B6B;
    --border-light: rgba(0, 0, 0, 0.1);
    --shadow-light: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 8px 25px rgba(0, 0, 0, 0.15);
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #ffffff;
    background-image: url('images/home_screen/1.svg');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    background-attachment: fixed;
    color: #333333;
    line-height: 1.6;
    overflow: hidden;
}

/* Mobile scroll enable */
@media (max-width: 768px) {
    body {
        overflow-y: auto;
        overflow-x: hidden;
    }
}

.container {
    max-width: none;
    margin: 0 auto;
    padding: 0;
}

/* Header Styles */
.header {
    display: none;
}

/* Hamburger Menu */
.hamburger-menu {
    position: absolute;
    top: 40px;
    right: 180px;
    width: 30px;
    height: 24px;
    cursor: pointer;
    z-index: 1001;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Mobile Hamburger Menu Position */
@media (max-width: 768px) {
    .hamburger-menu {
        position: fixed;
        top: 20px;
        right: 20px;
        z-index: 1002;
    }
}

.hamburger-menu span {
    width: 100%;
    height: 2px;
    background-color: #333333;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform-origin: center;
}

.hamburger-menu:hover span:nth-child(1) {
    transform: translateY(-2px);
}

.hamburger-menu:hover span:nth-child(3) {
    transform: translateY(2px);
}

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

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

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

/* Main Content */
.main-content {
    height: 100vh;
    padding: 30px 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background-color: transparent;
}

.container {
    max-width: none;
    margin: 0 auto;
    padding: 0;
}

/* Mobile main content scroll */
@media (max-width: 768px) {
    .main-content {
        height: auto;
        min-height: 100vh;
        overflow: visible;
    }
}

/* Projects Grid */
.projects-grid {
    display: flex;
    width: 100vw;
    flex: 1;
    position: relative;
    overflow: hidden;
    align-items: flex-start;
    justify-content: center;
    padding: 10px 120px 20px 120px;
    gap: 20px;
    flex-shrink: 0;
    perspective: 2000px;
    perspective-origin: center center;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    margin-top: -20px;
}

.project-card {
    position: relative;
    cursor: pointer;
    overflow: hidden;
    height: 400px;
    flex: 1;
    min-width: 200px;
    border-radius: 12px;
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.15),
        0 15px 35px rgba(0, 0, 0, 0.1),
        0 5px 15px rgba(0, 0, 0, 0.07);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    background: #ffffff;
    will-change: flex, opacity, box-shadow, filter;
    text-decoration: none;
    color: inherit;
    display: block;
}

.project-card:hover {
    text-decoration: none;
    color: inherit;
}

.project-image {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}

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

/* Hover Effects */
.projects-grid:hover .project-card:not(:hover) {
    flex: 0.7;
    opacity: 0.7;
    filter: blur(0.5px) brightness(0.8);
    box-shadow: 
        0 15px 30px rgba(0, 0, 0, 0.1),
        0 8px 20px rgba(0, 0, 0, 0.08),
        0 3px 10px rgba(0, 0, 0, 0.05);
}

.projects-grid:hover .project-card:hover {
    flex: 1.6;
    box-shadow: 
        0 40px 80px rgba(0, 0, 0, 0.25),
        0 25px 50px rgba(0, 0, 0, 0.15),
        0 15px 30px rgba(0, 0, 0, 0.1);
    z-index: 10;
    filter: brightness(1.1) saturate(1.1);
    animation-play-state: paused;
}

/* Smooth transition states */

.projects-grid:not(:hover) .project-card {
    flex: 1;
    opacity: 1;
    filter: none;
}

/* Görsel artık sadece kartın büyüdüğü oranda büyüyor */

/* Description Section */
.description-section {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 0;
    margin-top: auto;
    min-height: 80px;
}

.description-text {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 400;
    font-style: italic;
    line-height: 1.7;
    color: #000000;
    text-align: center;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 120px;
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0) 100%);
    color: white;
    padding: 30px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    opacity: 0;
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border-radius: 12px;
    will-change: opacity, background;
}

.project-card:hover .project-overlay {
    opacity: 1;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0.1) 100%);
}

.project-overlay h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: white;
}

.project-overlay p {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    margin-bottom: 20px;
    opacity: 0.9;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.9);
}

.project-btn {
    font-family: 'Poppins', sans-serif;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid white;
    color: white;
    padding: 12px 24px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border-radius: 25px;
    backdrop-filter: blur(10px);
    will-change: background, color, transform, box-shadow;
}

.project-btn:hover {
    background: white;
    color: #333;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.3);
}


/* Logo Section - Ultra Compact Spacing */
.logo-section {
    text-align: center;
    margin-bottom: clamp(12px, 2vh, 20px);
    margin-top: clamp(15px, 3vh, 30px);
}

/* Logo with Lines - Grid Aligned */
.logo-with-lines {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    padding: 0 120px;
}

.logo-line {
    flex: 1;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, var(--text-primary) 30%, var(--text-primary) 70%, transparent 100%);
    margin: 0;
    position: relative;
    overflow: hidden;
}

.logo-line::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent 0%, rgba(51, 51, 51, 0.9) 50%, transparent 100%);
    animation: wipeRight 2s ease-in-out forwards;
}

.logo-line:last-of-type::before {
    left: 100%;
    animation: wipeLeft 2s ease-in-out forwards;
}

@keyframes wipeRight {
    0% { 
        left: -100%; 
        opacity: 1;
    }
    70% { 
        left: 0%; 
        opacity: 1;
    }
    100% { 
        left: 100%; 
        opacity: 0;
    }
}

@keyframes wipeLeft {
    0% { 
        right: -100%; 
        left: auto; 
        opacity: 1;
    }
    70% { 
        right: 0%; 
        left: auto; 
        opacity: 1;
    }
    100% { 
        right: 100%; 
        left: auto; 
        opacity: 0;
    }
}

/* SVG Logo Styles */
.logo-svg {
    width: 200px;
    height: 200px;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: brightness(0) saturate(100%);
    margin: 0 30px 10px 30px;
}

/* Brand Section */
.brand-section {
    text-align: center;
    margin-top: -30px;
    margin-bottom: 5px;
    padding: 0 120px;
    animation: fadeUp 1s ease-out;
}

/* Brand Name - 10% smaller */
.brand-name {
    font-family: 'Poppins', sans-serif;
    text-align: center;
    font-size: 72px;
    font-weight: 300;
    color: var(--text-primary);
    margin-bottom: 12px;
    letter-spacing: 2px;
    animation: fadeUp 1s ease-out 0.2s both;
}


/* Category Navigation - Typography Focused */
.category-nav {
    text-align: center;
    margin-bottom: 30px;
    margin-top: -15px;
    padding: 0 120px;
    animation: fadeUp 1s ease-out 0.6s both;
}

.category-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.category-link {
    font-family: 'Poppins', sans-serif;
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 18px;
    font-weight: 400;
    letter-spacing: 0.5px;
    position: relative;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    padding: 4px 0;
}

.category-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--text-primary);
    transition: width 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.category-link:hover {
    color: var(--text-primary);
}

.category-link:hover::after {
    width: 100%;
}

.category-link.is-active {
    color: var(--text-primary);
    font-weight: 600;
}

.category-link.is-active::after {
    width: 100%;
}

.category-link.neutral-state {
    color: var(--text-primary);
    font-weight: 400;
}

.category-link.neutral-state::after {
    width: 0;
}

.category-link.neutral-state:hover {
    color: var(--text-primary);
}

.category-link.neutral-state:hover::after {
    width: 100%;
}

.category-divider {
    color: var(--text-primary);
    font-size: 20px;
    font-weight: 500;
    opacity: 0.8;
    margin: 0 8px;
    line-height: 1;
    vertical-align: middle;
}


.nav-list {
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
}

.nav-item {
    display: inline-block;
}

.nav-link {
    font-family: 'Poppins', sans-serif;
    text-decoration: none;
    color: #333333;
    font-size: 22px;
    font-weight: 400;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #666666;
}

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

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

.nav-divider {
    color: #333333;
    font-size: 22px;
    margin: 0 10px;
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu {
    position: absolute;
    top: 0;
    right: 0;
    width: 350px;
    height: 100vh;
    background-color: #ffffff;
    padding: 45px 25px 15px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
    overflow-x: hidden;
}

.mobile-menu-overlay.active .mobile-menu {
    transform: translateX(0);
}

.mobile-menu-close {
    position: absolute;
    top: 30px;
    right: 30px;
    font-size: 30px;
    cursor: pointer;
    color: #333333;
    line-height: 1;
}

/* Menu Header */
.menu-header {
    text-align: center;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e0e0e0;
}

.menu-header h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 24px;
    font-weight: 300;
    color: #333333;
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.menu-header p {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    color: #666666;
    font-style: italic;
    margin: 0;
}

/* Contact Info Styling */
.mobile-contact-info {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-item {
    padding: 0px 0 20px 0;
    border-bottom: 1px solid #f0f0f0;
}

.contact-item:last-child {
    border-bottom: none;
}

.contact-item strong {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #333333;
    display: block;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.contact-item span {
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    color: #666666;
    line-height: 1.5;
}

/* Instagram Button */
.instagram-button-container {
    margin-top: 16px;
    margin-bottom: 16px;
    padding-top: 0px;
}

.instagram-button {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    border-radius: 25px;
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    font-weight: 500;
    color: white;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 4px 15px rgba(240, 148, 51, 0.3);
    position: relative;
    overflow: hidden;
}

.instagram-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.2) 50%, transparent 100%);
    transition: left 0.6s ease;
}

.instagram-button:hover::before {
    left: 100%;
}

.instagram-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(240, 148, 51, 0.4);
}

.instagram-icon {
    margin-right: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.instagram-text {
    font-weight: 500;
    letter-spacing: 0.5px;
}



/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0;
    }
    
    .logo-svg {
        width: 160px;
        height: 160px;
    }
    
    .logo-with-lines {
        padding: 0 40px;
    }
    
    .logo-line {
        margin: 0;
    }
    
    .logo-svg {
        margin: 0 20px 10px 20px;
    }
    
    .brand-section {
        padding: 0 40px;
        margin-bottom: 8px;
        margin-top: -35px;
    }
    
    .brand-name {
        font-size: 45px;
        margin-bottom: 8px;
    }
    
    
    .category-nav {
        padding: 0 40px;
        margin-bottom: 8px;
        margin-top: -12px;
    }
    
    .category-links {
        gap: 20px;
    }
    
    .category-link {
        font-size: 16px;
    }
    
    .category-divider {
        font-size: 18px;
        margin: 0 6px;
    }
    
    
    .nav-list {
        flex-direction: column;
        gap: 20px;
    }
    
    .nav-divider {
        display: none;
    }
    
    .main-nav {
        display: none;
        padding: 0 40px;
        margin-top: -10px;
    }
    
    .hamburger-menu {
        display: flex;
        position: fixed;
        top: 20px;
        right: 20px;
        z-index: 1002;
    }
    
    /* Mobile Layout Adjustments */
    .top-section {
        height: auto;
        padding: 25px 0 20px 0;
    }
    
    .bottom-section {
        flex: 1;
        padding: 0;
    }
    
    /* Mobile Projects Grid */
    .projects-grid {
        flex-direction: column;
        align-items: stretch;
        padding: 15px 40px;
        gap: 15px;
        height: auto;
        flex-shrink: 0;
    }
    
    .project-card {
        height: 20vh !important;
        min-height: 300px !important;
        flex: none !important;
        margin: 0 !important;
        min-width: auto !important;
    }
    
    .projects-grid:hover .project-card:not(:hover) {
        flex: none;
        transform: none;
        opacity: 1;
    }
    
    .projects-grid:hover .project-card:hover {
        flex: none;
        transform: scale(1.02);
    }
    
    .project-overlay {
        opacity: 0.9 !important;
        background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0.1) 100%) !important;
        padding: 20px !important;
    }
    
    .project-overlay h3 {
        font-size: 20px !important;
        margin-bottom: 8px !important;
    }
    
    .project-overlay p {
        font-size: 14px !important;
        margin-bottom: 15px !important;
    }
    
    .project-btn {
        font-size: 11px !important;
        padding: 10px 20px !important;
    }
    
    /* Mobile Description Section */
    .description-section {
        padding: 20px 0;
        min-height: 80px;
    }
    
    .description-text {
        font-size: 14px;
        line-height: 1.6;
        padding: 0 40px;
        text-align: center;
        font-style: italic;
    }
}

@media (max-width: 480px) {
    .logo-svg {
        width: 120px;
        height: 120px;
    }
    
    .logo-with-lines {
        padding: 0 15px;
    }
    
    .logo-line {
        margin: 0;
        height: 1px;
    }
    
    .logo-svg {
        margin: 0 15px 10px 15px;
    }
    
    .brand-section {
        padding: 0 15px;
        margin-bottom: 6px;
        margin-top: -25px;
    }
    
    .brand-name {
        font-size: 30px;
        margin-bottom: 6px;
    }
    
    
    .category-nav {
        padding: 0 15px;
        margin-bottom: 6px;
        margin-top: -10px;
    }
    
    .category-links {
        gap: 16px;
        flex-direction: row;
        align-items: center;
    }
    
    .category-link {
        font-size: 14px;
    }
    
    .category-divider {
        font-size: 16px;
        margin: 0 6px;
    }
    
    
    .mobile-menu {
        width: 280px;
        padding: 50px 20px 15px;
    }
    
    .menu-header h3 {
        font-size: 20px;
    }
    
    .nav-icon {
        font-size: 18px;
        margin-right: 12px;
        width: 20px;
    }
    
    .nav-text {
        font-size: 16px;
    }
    
    /* Extra Small Mobile Layout */
    .top-section {
        height: auto;
        padding: 10px 0 15px 0;
    }
    
    .bottom-section {
        flex: 1;
        padding: 0;
    }
}

/* Desktop Navigation Enhancement */
@media (min-width: 769px) {
    .hamburger-menu {
        display: flex;
        position: absolute;
        top: 40px;
        right: 180px;
        z-index: 1001;
    }
    
    .main-nav {
        display: block;
    }
}

/* Contact Form Styles */
.mobile-contact-form {
    margin-top: 0px;
    padding-top: 12px;
}

.form-header {
    margin-bottom: 12px;
    text-align: left;
}

.form-header h4 {
    color: rgb(0, 0, 0);
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.form-header p {
    color: rgba(0, 0, 0, 0.8);
    font-size: 14px;
    line-height: 1.4;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    color: rgb(0, 0, 0);
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    padding: 10px 14px;
    color: black;
    font-size: 14px;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(0, 0, 0, 0.6);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    padding-right: 40px;
}

.form-group select option {
    background: #333;
    color: white;
}

.form-group textarea {
    resize: vertical;
    min-height: 65px;
}

.form-submit-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    background: linear-gradient(135deg, #333333 0%, #000000 100%);
    border: none;
    border-radius: 25px;
    color: white;
    font-size: 15px;
    font-weight: 500;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
    gap: 8px;
    margin-top: 10px;
}

.form-submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.2) 50%, transparent 100%);
    transition: left 0.6s ease;
}

.form-submit-btn:hover::before {
    left: 100%;
}

.form-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.form-submit-btn:active {
    transform: translateY(0);
}

.form-submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.btn-loader {
    display: flex;
    align-items: center;
    justify-content: center;
}

.spinner {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.form-success-message {
    text-align: center;
    padding: 25px 20px;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.success-icon {
    width: 50px;
    height: 50px;
    background: #22c55e;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 24px;
    color: white;
    font-weight: bold;
}

.form-success-message h5 {
    color: rgb(0, 0, 0);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
}

.form-success-message p {
    color: rgba(0, 0, 0, 0.8);
    font-size: 14px;
}

/* Form Validation Styles */
.form-group input:invalid:not(:placeholder-shown),
.form-group textarea:invalid:not(:placeholder-shown) {
    border-color: #ef4444;
    background: rgba(239, 68, 68, 0.1);
}

.form-group input:valid:not(:placeholder-shown),
.form-group textarea:valid:not(:placeholder-shown) {
    border-color: #22c55e;
}

/* MacBook 13" Optimization */
@media (max-height: 900px) and (min-width: 1100px) {
    .mobile-menu {
        padding: 25px 15px 5px;
    }
    
    .menu-header h3 {
        font-size: 14px;
        margin-bottom: 8px;
    }
    
    .mobile-contact-form {
        margin-top: 0px;
        padding-top: 5px;
    }
    
    .form-header {
        margin-bottom: 5px;
    }
    
    .form-header h4 {
        font-family: 'Poppins', sans-serif;
        font-size: 14px;
        font-weight: 600;
        margin-bottom: 0px;
    }
    
    .contact-form {
        gap: 12px;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 6px 10px;
        font-size: 14px;
    }
    
    .form-group textarea {
        min-height: 45px;
    }
    
    .form-submit-btn {
        padding: 6px 14px;
        font-size: 14px;
        margin-top: 2px;
    }
    
    .instagram-button-container {
        margin-top: 8px;
        margin-bottom: 40px;
    }
    
    .instagram-button {
        padding: 6px 12px;
        font-size: 14px;
    }
    
    .contact-item {
        margin-bottom: 5px;
        font-size: 14px;
        line-height: 1.3;
    }
    
    .contact-item strong {
        font-size: 14px;
    }
    
    .contact-item span {
        font-size: 14px;
        line-height: 1.2;
    }
}

/* Responsive Form Adjustments */
@media (max-width: 768px) {
    .mobile-contact-form {
        margin-top: 0px;
        padding-top: 12px;
    }
    
    .form-header {
        margin-bottom: 12px;
    }
    
    .form-header h4 {
        font-family: 'Poppins', sans-serif;
        font-size: 16px;
        font-weight: 600;
        margin-bottom: 0px;
    }
    
    .contact-form {
        gap: 12px;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 8px 12px;
        font-size: 13px;
    }
    
    .form-group textarea {
        min-height: 60px;
    }
    
    .form-submit-btn {
        padding: 10px 18px;
        font-size: 14px;
        margin-top: 5px;
    }
    
    .instagram-button-container {
        margin-top: 15px;
        margin-bottom: 15px;
    }
    
    .instagram-button {
        padding: 10px 16px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .mobile-menu {
        padding: 40px 15px 10px;
    }
    
    .mobile-contact-form {
        margin-top: 0px;
        padding-top: 10px;
    }
    
    .form-header {
        margin-bottom: 10px;
    }
    
    .form-header h4 {
        font-family: 'Poppins', sans-serif;
        font-size: 15px;
        font-weight: 600;
        margin-bottom: 0px;
    }
    
    .contact-form {
        gap: 10px;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 7px 10px;
        font-size: 12px;
    }
    
    .form-group textarea {
        min-height: 50px;
    }
    
    .form-submit-btn {
        padding: 8px 16px;
        font-size: 13px;
        margin-top: 3px;
    }
    
    .instagram-button-container {
        margin-top: 12px;
        margin-bottom: 12px;
    }
    
    .instagram-button {
        padding: 8px 14px;
        font-size: 13px;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Focus States for Accessibility */
.nav-link:focus,
.mobile-nav-link:focus,
.hamburger-menu:focus {
    outline: 2px solid #333333;
    outline-offset: 2px;
}

/* Animation for Logo */

/* Brand Name Animation */
.brand-name {
    animation: fadeInUp 1s ease-out;
}

/* Fade Up Animation */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Small laptop optimizations (e.g., 13" MacBook ~1280x800) */
@media (min-width: 769px) and (max-height: 830px) {
    body {
        overflow-y: auto;
    }

    .logo-with-lines {
        padding: 0 80px;
    }

    .logo-svg {
        width: 160px;
        height: 160px;
        margin: 0 24px 8px 24px;
    }

    .hamburger-menu {
        top: 28px;
        right: 120px;
    }

    .brand-section {
        padding: 0 80px;
        margin-top: -25px;
        margin-bottom: 6px;
    }

    .brand-name {
        font-size: 56px;
        margin-bottom: 8px;
    }

    .category-nav {
        padding: 0 80px;
        margin-top: -10px;
        margin-bottom: 16px;
    }

    .category-link {
        font-size: 17px;
    }

    .projects-grid {
        padding: 10px 80px 10px 80px;
        gap: 16px;
        margin-top: -10px;
    }

    .project-card {
        height: 320px;
    }

    .project-overlay h3 {
        font-size: 22px;
    }

    .project-overlay p {
        font-size: 15px;
    }

    .description-text {
        padding: 0 80px;
        font-size: 15px;
    }
}

