/* Custom styles for garage.ist under construction page */

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.animated-gradient {
    background: linear-gradient(270deg, #0891b2, #f97316);
    background-size: 200% 200%;
    animation: gradientShift 8s ease infinite;
}

@keyframes pulse-ring {
    0% {
        transform: scale(0.95);
        opacity: 0.7;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.9;
    }
    100% {
        transform: scale(0.95);
        opacity: 0.7;
    }
}

.pulse-ring {
    animation: pulse-ring 3s ease-in-out infinite;
}

.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.custom-focus:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(8, 145, 178, 0.3);
    border-color: #0891b2;
}

@media (max-width: 640px) {
    .mobile-padding {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .mobile-text-center {
        text-align: center;
    }
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

.projects-heading {
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

:root {
    --primary: #00c2ff;
    --secondary: #00e5b0;
    --dark: #0d1117;
    --light: #f8f9fa;
    --accent: #ff9e00;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Responsive visibility classes */
.desktop-only {
    display: block !important;
}

.mobile-only {
    display: none !important;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Space Grotesk', sans-serif;
    background-color: var(--dark);
    color: var(--light);
    min-height: 100vh;
    overflow-x: hidden;
    overflow-y: auto;
    position: relative;
    cursor: default;
}

@media (max-width: 768px) {
    body {
        overflow-y: auto;
        overflow-x: hidden;
        height: auto;
        min-height: 100vh;
        width: 100%;
        max-width: 100vw;
    }
    
    html {
        overflow-x: hidden;
        width: 100%;
        max-width: 100vw;
    }
}

#canvas-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -10;
}

.content {
    position: relative;
    z-index: 2;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2rem;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
    height: 100%;
}

.projects-section {
    position: absolute;
    top: 2vh;
    right: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    z-index: 10;
    max-width: 250px;
}

.mobile-projects-container {
    display: none;
}

.mobile-projects-row {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    padding: 0 1rem;
}

.project-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.8rem;
    border-radius: 0.75rem;
    width: 210px;
    text-align: left;
    transition: all 0.3s ease;
    margin-bottom: 0.3rem;
}

.project-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
}

.past-project {
    opacity: 0.75;
    filter: grayscale(30%);
    transition: all 0.3s ease;
}

.past-project:hover {
    transform: translateY(-5px);
    opacity: 0.85;
    box-shadow: 0 5px 15px -5px rgba(0, 0, 0, 0.3);
}

.project-view-past {
    display: inline-block;
    padding: 0.45rem 0.9rem;
    background: rgba(150, 150, 150, 0.2);
    color: var(--light);
    border-radius: 50px;
    font-size: 0.8rem;
    text-decoration: none;
    border: 1px solid rgba(150, 150, 150, 0.3);
    cursor: default;
}

.project-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
    margin-top: 0;
    color: var(--secondary);
}

.project-card p {
    font-size: 0.9rem;
    margin-bottom: 0.6rem;
    margin-top: 0;
    opacity: 0.7;
}

.project-view {
    display: inline-block;
    padding: 0.45rem 0.9rem;
    background: rgba(0, 194, 255, 0.2);
    color: var(--light);
    border-radius: 50px;
    font-size: 0.8rem;
    transition: all 0.3s ease;
    text-decoration: none;
    cursor: pointer;
    border: 1px solid rgba(0, 194, 255, 0.3);
}

.project-view:hover {
    background: rgba(0, 194, 255, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 3px 10px rgba(0, 194, 255, 0.3);
}

.store-button {
    transition: all 0.3s ease;
}

.store-button:hover {
    transform: translateY(-2px);
    filter: drop-shadow(0 3px 10px rgba(0, 194, 255, 0.3));
}

.project-buttons-container {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.project-buttons-container .project-view {
    width: 12.3vw;
    box-sizing: border-box;
    text-align: center;
}

@media (max-width: 768px) {
    .container {
        grid-template-columns: 1fr;
    }
}

.logo {
    position: absolute;
    top: 2rem;
    left: 2rem;
    font-size: 1.5rem;
    font-weight: 700;
    z-index: 10;
    cursor: pointer;
}

.logo span {
    color: var(--secondary);
}

h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.1;
}

h1 .highlight {
    color: var(--secondary);
    position: relative;
    display: inline-block;
}

h1 .highlight::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 30%;
    background-color: var(--accent);
    bottom: 0;
    left: 0;
    z-index: -1;
    opacity: 0.3;
}

p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    max-width: 500px;
    opacity: 0.9;
}

.newsletter-container {
    margin-top: 2rem;
    margin-bottom: 2rem;
    max-width: 500px;
}

.newsletter-text {
    font-size: 1rem;
    margin-bottom: 0.75rem;
    opacity: 0.8;
}

.newsletter-form {
    display: flex;
    gap: 1.25rem;
}

.newsletter-input {
    flex: 1;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text);
    padding: 0.75rem 1rem;
    border-radius: 4px;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    cursor: text;
}

.newsletter-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(0, 194, 255, 0.2);
}

.newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.newsletter-button {
    background: var(--primary);
    color: var(--bg);
    border: none;
    padding: 0 1.5rem;
    border-radius: 25px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.newsletter-button:hover {
    background: var(--secondary);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.newsletter-success {
    margin-top: 0.75rem;
    color: var(--primary);
    font-size: 0.9rem;
    font-weight: 500;
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.visual-container {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.grid-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
    pointer-events: none;
}

.grid-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(to right, rgba(0, 194, 255, 0.05) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(0, 194, 255, 0.05) 1px, transparent 1px);
    background-size: 20px 20px;
    z-index: 1;
}

.grid-glow {
    position: absolute;
    width: 4px;
    height: 4px;
    background-color: var(--primary);
    border-radius: 50%;
    filter: blur(4px);
    box-shadow: 0 0 8px var(--primary), 0 0 15px rgba(0, 194, 255, 0.7);
    opacity: 0.7;
    z-index: 5;
    transition: opacity 0.3s ease;
}

.shape {
    position: absolute;
    opacity: 0.1;
    pointer-events: none;
}

.shape-1 {
    width: 500px;
    height: 500px;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    background: radial-gradient(circle at center, rgba(0, 229, 176, 0.1) 0%, transparent 70%);
    animation: breathe 15s infinite ease-in-out;
}

.shape-2 {
    width: 300px;
    height: 300px;
    bottom: 10%;
    right: 20%;
    background: radial-gradient(circle at center, rgba(0, 194, 255, 0.1) 0%, transparent 70%);
    animation: breathe 15s infinite ease-in-out reverse;
}

.shape-3 {
    width: 250px;
    height: 250px;
    top: 15%;
    right: 25%;
    background: radial-gradient(circle at center, rgba(255, 158, 0, 0.1) 0%, transparent 70%);
    animation: breathe 15s infinite ease-in-out 5s;
}

@keyframes float {
    0% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-20px) scale(1.05);
    }
    100% {
        transform: translateY(0) scale(1);
    }
}

@keyframes pulse {
    0% {
        transform: rotate(45deg) scale(1);
        opacity: 0.1;
    }
    50% {
        transform: rotate(45deg) scale(1.1);
        opacity: 0.2;
    }
    100% {
        transform: rotate(45deg) scale(1);
        opacity: 0.1;
    }
}

@keyframes breathe {
    0% {
        opacity: 0.05;
        transform: scale(1) translateY(-50%);
    }
    50% {
        opacity: 0.15;
        transform: scale(1.05) translateY(-50%);
    }
    100% {
        opacity: 0.05;
        transform: scale(1) translateY(-50%);
    }
}

.social-links {
    position: absolute;
    bottom: 1.5rem;
    right: 2rem;
    display: flex;
    gap: 1rem;
    z-index: 100;
}

.social-link {
    color: var(--light);
    opacity: 0.7;
    transition: all 0.3s ease;
    cursor: pointer;
}

.social-link:hover {
    opacity: 1;
    transform: translateY(-3px);
    color: var(--secondary);
}

.copyright {
    position: relative;
    padding: 20px 2rem;
    text-align: left;
    font-size: 0.875rem;
    opacity: 0.7;
    z-index: 100;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
    margin-top: 2rem;
    margin-bottom: 0;
    padding-bottom: 10px;
}

.domain-list-section {
    padding: 4rem 2rem;
    margin-top: 3rem;
    position: relative;
    z-index: 10;
}

.domain-list-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2.5rem;
    color: var(--light);
}

.domain-grid {
    display: grid !important;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.mobile-only {
    display: none !important;
}

.mobile-only.domain-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

/* Son domain'i (yildiz.org) ortalama */
@media (max-width: 768px) {
    .mobile-only.domain-grid .domain-item:last-child {
        grid-column: span 2;
        text-align: center;
        width: 50%;
        margin: 0 auto;
    }
}

.last-row-domains {
    grid-column: 1 / -1; 
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
}

.last-row-domains .domain-item:first-child {
    grid-column: 2;
}

.last-row-domains .domain-item:nth-child(2) {
    grid-column: 3;
}

.last-row-domains .domain-item:last-child {
    grid-column: 4;
}

.domain-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 1rem;
    text-align: center;
    font-size: 0.9rem;
    color: var(--light);
    transition: all 0.3s ease;
}

.domain-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    color: var(--secondary);
}

.scroll-indicator {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    animation: fadeInOut 2s infinite;
    cursor: pointer;
}

.scroll-down {
    opacity: 1;
}

.scroll-up {
    opacity: 0; 
}

.scroll-arrow {
    width: 20px;
    height: 20px;
    border-right: 2px solid var(--secondary);
    border-bottom: 2px solid var(--secondary);
    transform: rotate(45deg);
    margin-bottom: 5px;
    animation: bounce-down 2s infinite;
}

.scroll-arrow.up {
    transform: rotate(-135deg);
    margin-top: 5px;
    margin-bottom: 5px;
    animation: bounce-up 2s infinite;
}

.scroll-text {
    color: var(--light);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.store-button img {
    width: 12.3vw;
}

.app-store-button {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 8px 12px;
    border-radius: 8px;
    color: white;
    background-color: black;
    text-decoration: none;
    transition: all 0.3s ease;
    width: 12.3vw;
    box-sizing: border-box;
    height: 7.74vh;
}

.app-store-button:hover {
    transform: translateY(-2px);
    filter: drop-shadow(0 3px 10px rgba(0, 194, 255, 0.3));
}

.app-store-button .apple-icon {
    width: 28px;
    height: 28px;
    margin-right: 12px;
    fill: white;
}

.app-store-button .apple-text-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.1;
}

.app-store-button .apple-text {
    font-size: 10px;
    font-weight: 450;
}

.app-store-button .apple-store-name {
    font-size: 24px;
    font-weight: 500;
}

@keyframes bounce-down {
    0%, 20%, 50%, 80%, 100% {
        transform: rotate(45deg) translateY(0);
    }
    40% {
        transform: rotate(45deg) translateY(10px);
    }
    60% {
        transform: rotate(45deg) translateY(5px);
    }
}

@keyframes bounce-up {
    0%, 20%, 50%, 80%, 100% {
        transform: rotate(-135deg) translateY(0);
    }
    40% {
        transform: rotate(-135deg) translateY(-10px);
    }
    60% {
        transform: rotate(-135deg) translateY(-5px);
    }
}

@keyframes fadeInOut {
    0%, 100% {
        opacity: 0.3;
    }
    50% {
        opacity: 1;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }
    
    .project-card:hover {
        transform: none;
        background: rgba(255, 255, 255, 0.1);
        box-shadow: none;
    }
    
    .past-project:hover {
        transform: none;
        opacity: 0.6;
        box-shadow: none;
    }
    
    .domain-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
        padding: 0 0.5rem;
    }
    
    .last-row-domains {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
        width: 100%;
    }
    
    .last-row-domains .domain-item {
        width: 100%;
        margin: 0;
        box-sizing: border-box;
    }
    
    .last-row-domains .domain-item:first-child,
    .last-row-domains .domain-item:nth-child(2),
    .last-row-domains .domain-item:last-child {
        grid-column: auto;
    }
    
    .domain-item {
        font-size: 0.8rem;
        padding: 0.75rem 0.5rem;
    }
    
    .domain-list-section {
        padding: 2rem 1rem;
        margin-top: 2rem;
    }
    
    .domain-list-title {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .visual-container {
        display: none;
    }
    
    .container {
        text-align: center;
        justify-content: center;
        padding-bottom: 20px;
        min-height: auto;
        margin-top: 10vh;
        margin-bottom: 1rem;
        width: 100%;
        max-width: 100%;
        padding-left: 1rem;
        padding-right: 1rem;
        box-sizing: border-box;
    }
    
    .copyright {
        padding: 1rem;
        text-align: center;
        align-items: center;
        font-size: 0.75rem;
        line-height: 1.4;
        position: relative;
        margin-top: 2rem;
        margin-bottom: 1rem;
        width: 100%;
    }
    
    .desktop-only {
        display: none !important;
    }
    
    .mobile-only {
        display: grid !important;
    }
    
    p {
        margin: 0 auto 2rem;
    }
    
    .logo {
        top: 1rem;
        left: 1rem;
    }
    
    .social-links {
        right: 1rem;
        bottom: 5rem; 
    }
    
    .scroll-indicator {
        bottom: 50px;
        font-size: 0.8rem;
    }
    
    .scroll-arrow {
        width: 8px;
        height: 8px;
        margin-bottom: 3px;
    }
    
    .scroll-arrow.up {
        margin-bottom: 3px;
    }
    
    .copyright {
        bottom: 0;
        padding-bottom: 0.5rem;
        margin-bottom: 0;
    }
    
    .projects-section {
        display: none;
    }
    
    .mobile-projects-container {
        display: block;
        position: relative;
        width: 100%;
        max-width: 100%;
        padding: 1rem 0;
        margin-top: 1.5rem;
        margin-bottom: 1.5rem;
        z-index: 10;
        border-radius: 12px;
        box-sizing: border-box;
        overflow-x: hidden;
    }
    
    .mobile-projects-title {
        text-align: center;
        font-size: 1.2rem;
        margin-bottom: 1rem;
        color: var(--primary);
        font-weight: 500;
    }
    
    .projects-wrapper {
        width: 100%;
        overflow-x: auto;
        scrollbar-width: none; 
        -ms-overflow-style: none; 
        -webkit-overflow-scrolling: touch; 
    }
    
    .projects-wrapper::-webkit-scrollbar {
        display: none; 
    }
    
    .mobile-projects-row {
        display: flex;
        flex-direction: column;
        gap: 0.8rem;
        padding: 0 1rem;
        padding-bottom: 0.5rem;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .project-card {
        width: 100%;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 12px;
        padding: 1rem;
        margin-bottom: 0.5rem;
        border: 1px solid rgba(255, 255, 255, 0.15);
        box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
    }
    
    .previous-project {
        opacity: 0.6;
    }
    
    .project-view-disabled {
        color: var(--light);
        font-size: 0.9rem;
        font-weight: 500;
        display: inline-block;
        padding: 6px 12px;
        border: 1px solid var(--light);
        border-radius: 4px;
        opacity: 0.7;
        cursor: default;
    }
    
    .project-card h3 {
        margin-top: 0;
        margin-bottom: 0.5rem;
        font-size: 1.1rem;
        color: var(--primary);
    }
    
    .project-card p {
        font-size: 0.9rem;
        margin-bottom: 1rem;
        opacity: 0.8;
        line-height: 1.4;
    }
    
    .project-view {
        color: var(--primary);
        font-size: 0.9rem;
        font-weight: 500;
        display: inline-block;
        padding: 6px 12px;
        border: 1px solid var(--primary);
        border-radius: 4px;
        transition: all 0.3s ease;
        cursor: pointer;
    }
    
    .project-buttons-container .project-view {
        width: 58.5vw;
    }

    .project-view:hover {
        background-color: var(--primary);
        color: #000;
        transform: translateY(-2px);
        box-shadow: 0 3px 10px rgba(0, 194, 255, 0.3);
    }

    .store-button img {
        width: 58.5vw;
    }
}