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

body {
    font-family:   "SF Pro Text", "SF Pro Icons", "Helvetica Neue", Helvetica, Arial, sans-serif;
    color: #1d1d1f;
    background-color: #fff;
    font-size: 17px;
    line-height: 1.47059;
    font-weight: 400;
    letter-spacing: -0.022em;
    overflow-x: hidden;
}

/* Button Styles */
.blue-btn {
    font-family: "SF Pro Text", "SF Pro Icons", "Helvetica Neue", Helvetica, Arial, sans-serif;
    background: #0071E3;
    color: #ffffff;
    text-decoration: none;
    font-size: 16px;
    line-height: 1.381;
    font-weight: 400;
    padding: 10px 20px;
    border-radius: 40px;
    letter-spacing: 0.011em;
    transition: all 0.3s ease;
    display: inline-block;
}

.blue-btn:hover {
    background: #0077ED;
}

.white-btn {
    font-family: "SF Pro Text", "SF Pro Icons", "Helvetica Neue", Helvetica, Arial, sans-serif;
    color: #0071E3;
    text-decoration: none;
    border: 1px solid #0071E3;
    font-size: 16px;
    line-height: 1.381;
    font-weight: 400;
    padding: 10px 20px;
    border-radius: 40px;
    letter-spacing: 0.011em;
    transition: all 0.3s ease;
    display: inline-block;
    cursor: pointer;
}

.white-btn:hover {
    font-family: "SF Pro Text", "SF Pro Icons", "Helvetica Neue", Helvetica, Arial, sans-serif;
    background: #0071E3;
    color: #ffffff;
    text-decoration: none;
    font-size: 16px;
    line-height: 1.381;
    font-weight: 400;
    padding: 10px 20px;
    border-radius: 40px;
    letter-spacing: 0.011em;
    transition: all 0.3s ease;
    display: inline-block;
}

.black-bdr-btn {
    font-family: "SF Pro Text", "SF Pro Icons", "Helvetica Neue", Helvetica, Arial, sans-serif;
    color: #272729;
    text-decoration: none;
    border: 1px solid #272729;
    font-size: 16px;
    line-height: 1.381;
    font-weight: 400;
    padding: 10px 20px;
    border-radius: 40px;
    letter-spacing: 0.011em;
    transition: all 0.3s ease;
    display: inline-block;
    cursor: pointer;
}

.black-bdr-btn:hover {
    font-family: "SF Pro Text", "SF Pro Icons", "Helvetica Neue", Helvetica, Arial, sans-serif;
    color: #ffffff;
    text-decoration: none;
    border: 1px solid #272729;
    font-size: 16px;
    line-height: 1.381;
    font-weight: 400;
    padding: 10px 20px;
    border-radius: 40px;
    letter-spacing: 0.011em;
    transition: all 0.3s ease;
    display: inline-block;
    cursor: pointer;
    background-color:#272729;
}

.black-btn {
    font-family: "SF Pro Text", "SF Pro Icons", "Helvetica Neue", Helvetica, Arial, sans-serif;
    color: #ffffff;
    text-decoration: none;
    border: 1px solid #000000;
    font-size: 16px;
    line-height: 1.381;
    font-weight: 400;
    padding: 10px 20px;
    border-radius: 40px;
    letter-spacing: 0.011em;
    transition: all 0.3s ease;
    display: inline-block;
    cursor: pointer;
    background-color:#272729;
}

.black-btn:hover {
    background-color: #3a3a3a;
}

a {
    text-decoration: none;
    color: #06c;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Global Navigation */
.global-nav {
    background-color: rgba(247, 242, 242, 0.8);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    position: sticky;
    top: 0;
    z-index: 9999;
    width: 100%;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.global-nav nav {
    max-width: 1024px;
    margin: 0 auto;
    height: 44px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-list {
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding: 0 22px;
}

.nav-item {
    display: flex;
    align-items: center;
}

.nav-link {
    color: #000000;
    opacity: 0.8;
    font-size: 12px;
    font-weight: 400;
    transition: opacity 0.3s;
    padding: 0 8px;
    height: 44px;
    display: flex;
    align-items: center;
}

.nav-link:hover {
    opacity: 1;
}

.apple-logo {
    font-size: 18px;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    cursor: pointer;
    margin-right: 22px;
}

.mobile-menu-toggle span {
    height: 1px;
    width: 100%;
    background-color: #000000;
    transition: all 0.3s ease;
}

/* Hero Sections */
.hero-section {
    text-align: center;
    padding: 44px 0;
    position: relative;
    overflow: hidden;
}

.section-content {
    padding: 0 20px;
    max-width: 980px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.product-logo {
    height: 80px;
    margin: 0 auto 10px;
}

.product-name {
    font-size: 56px;
    line-height: 1.07143;
    font-weight: 600;
    letter-spacing: -0.005em;
    margin-bottom: 6px;
}

.headline {
    font-size: 28px;
    line-height: 1.10722;
    font-weight: 400;
    letter-spacing: 0.004em;
    margin-bottom: 14px;
}

.cta-links {
    margin-top: 0.8em;
    display: flex;
    justify-content: center;
    gap: 35px;
    flex-wrap: wrap;
}

.cta-links-1 {
    margin-top: 0.8em;
    display: flex;
    justify-content: center;
    gap: 35px;
    flex-wrap: wrap;
}

.hero-image-container {
    position: relative;
    z-index: 1;
    margin-top: 20px;
}

.hero-image {
    max-width: 100%;
    margin: 0 auto;
}

.hero-image-1 {
    max-width: 100%;
    margin: 0 auto;
}

.hero-image-2 {
    max-width: 100%;
    margin: 0 auto;
}

.shop-accessories {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    text-align: center;
}

.shop-accessories a {
    font-size: 19px;
    color: rgb(226, 86, 81);
}

.shop-accessories-1 {
    padding: 20px;
    text-align: center;
}

.shop-accessories-1 a {
    font-size: 19px;
    color: rgb(226, 86, 81);
}

.shop-accessories-2 {
    text-align: center;
    margin-top: 20px;
}

.shop-accessories-2 a {
    font-size: 15px;
    color: rgb(226, 86, 81);
}

/* Section Specific Styles */
.watch-section {
    background-color: #ffffff;
    color: #000000;
    padding-bottom: 60px;
}

.ipad-section {
    background-color: #000;
    color: #f5f5f7;
    padding-bottom: 60px;
}

.iphone-section {
    background-color: #fbfbfd;
    padding-bottom: 60px;
}

/* Grid Layout */
.grid-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding: 12px;
    max-width: 19100px;
}

.grid-item {
    background-color: #fbfbfd;
    border-radius: 18px;
    overflow: hidden;
    position: relative;
    text-align: center;
    padding: 30px 0;
    height: 500px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.grid-item .product-name {
    font-size: 40px;
}

.grid-item .headline {
    font-size: 21px;
    line-height: 30px;
}

/* Grid Item Specific Styles */
.mothers-day-img {
    background-image: url('assets (3)/asset 35.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.mothers-day {
position: relative;
top: 70%;
    width: 100%;
    padding: 0 20px;
}

.macbook-air {
    background-image: url('assets (3)/asset 36.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.mac-does-that {
    background-image: url('assets (3)/asset 38.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.green {
    background-color: #00ff00;
}

.trade-in {
    background-image: url('assets (3)/asset 43.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.carrier-deals {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.carrier-deals img {
    max-width: 100%;
    height: auto;
    margin-bottom: 20px;
}

.-day {
    padding: 0 20px;
}

.apple-card {
    background-image: url('./assets (3)/asset 46.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Footer */
.apple-footer {
    background-color: #f5f5f7;
    color: #6e6e73;
    font-size: 12px;
    line-height: 1.33337;
    font-weight: 400;
    letter-spacing: -0.01em;
    padding: 20px;
}

.footer-content {
    max-width: 980px;
    margin: 0 auto;
}

.footer-notes {
    border-bottom: 1px solid #d2d2d7;
    padding-bottom: 20px;
    margin-bottom: 20px;
}

.footer-notes ul li {
    margin-bottom: 10px;
}

.footer-directory {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid #d2d2d7;
}

.footer-column h3 {
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #1d1d1f;
}

.footer-column ul li {
    margin-bottom: 8px;
}

.footer-column ul li a {
    color: #6e6e73;
}

.footer-column ul li a:hover {
    text-decoration: underline;
}

.footer-shop-more {
    padding: 20px 0;
    border-bottom: 1px solid #d2d2d7;
}

.footer-legal {
    display: flex;
    justify-content: space-between;
    padding: 20px 0;
    font-size: 12px;
}

.footer-legal-links {
    display: flex;
    flex-wrap: wrap;
}

.footer-legal-links a {
    color: #6e6e73;
    margin-right: 10px;
    padding-right: 10px;
    border-right: 1px solid #d2d2d7;
}

.footer-legal-links a:last-child {
    border-right: none;
}

.footer-legal-locale a {
    color: #6e6e73;
}

/* Responsive Design */
@media (max-width: 1068px) {
    .product-name {
        font-size: 48px;
    }
    
    .headline {
        font-size: 24px;
    }
    
    .grid-item .product-name {
        font-size: 32px;
    }
    
    .grid-item .headline {
        font-size: 19px;
    }
    
    .grid-item {
        height: 450px;
    }
}

@media (max-width: 834px) {
    .grid-container {
        grid-template-columns: 1fr;
    }
    
    .footer-directory {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 767px) {
    .nav-list {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .global-nav nav {
        justify-content: flex-end;
        padding: 0 16px;
    }
    
    .product-name {
        font-size: 32px;
    }
    
    .headline {
        font-size: 19px;
    }
    
    .blue-btn, .white-btn {
        font-size: 14px;
        padding: 8px 16px;
    }
    
    .grid-item {
        height: 400px;
    }
    
    .footer-directory {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-legal {
        flex-direction: column;
    }
    
    .footer-legal-copyright {
        margin-bottom: 10px;
    }
    
    .footer-legal-links {
        margin-bottom: 10px;
    }
    
    .footer-legal-locale {
        margin-top: 10px;
    }
}

@media (max-width: 480px) {
    .cta-links, .cta-links-1 {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }
    
    .footer-directory {
        grid-template-columns: 1fr;
    }
    
    .grid-item {
        height: 350px;
    }
    
    .product-logo {
        height: 60px;
    }
}

/* Mobile Menu */
.nav-list.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 44px;
    left: 0;
    right: 0;
    background-color: rgba(247, 242, 242, 0.95);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
}

.nav-list.active .nav-item {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.nav-list.active .nav-link {
    width: 100%;
    padding: 14px 20px;
    height: auto;
}

/* Animation Effects */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-section, .grid-item {
    animation: fadeIn 0.8s ease-out forwards;
}

.hero-image, .hero-image-1, .hero-image-2 {
    transition: transform 0.3s ease;
}

.hero-image:hover, .hero-image-1:hover, .hero-image-2:hover {
    transform: scale(1.01);
}